[Fixed]-Updated code not executing on server

1đź‘Ť

Im assuming you’re suing wsgi or fcgi – most probably on apache or nginx

With wsgi – normally apache will cache your django for you.

So, you need to tell apache/nginx/server-provider that your django code has changed. The way you do this is by changing the “last edited” meta information of your .wsgi file. So, you simple do touch /path/to/django.wsgi and it will normally work.

If you use fcgi, the same thing applies.

👤AbdealiLoKo

Leave a comment