Without knowing your setup (nginx + gunicorn + django?), I think that you need to restart gunicorn in order to reload the python/django application.
stubborn urls.py - can't reload it under nginx
Pergunta
I know this has been already raised, but I still can't make it work. I've changed urls paths in the urls.py file. The changes are not being applied. Still the old version of the file is working.
I've tried reloading nginx server but it doesn't help. I run my django project under nginx with gunicorn.
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow