18👍
✅
Yes, you need to restart the uWSGI process.
Python keeps the compiled code in memory so it won’t get re-read until the process restarts. The django development server (manage.py runserver
) actively monitors files for changes, but that won’t happen by default with other servers. If you want to enable automatic reloading in uWSGI, the touch-reload and py-auto-reload uWSGI arguments might help.
Source:stackexchange.com