How to refresh Django urls configuration

Hi there,
I noticed that after I changed the urls.py configuration, Django was still serving it like I did not do any changes.
But after I restarted the server (I’m using Linux on DigitalOcean) everything was working as needed.

Is there a way to force Django to reload/refresh that so I don’t have to restart server each time ?

Thanks.

It’s generally required and expected that you will do a restart after changes are made.

Depending upon the application server being used (uwsgi, gunicorn, etc) it’s possible that it may have an option to automatically restart after a file has been changed. But all these mechanisms exist outside Django itself.