django_production.wsgi
The above conf file the easiest way to point the env and the settings together , the user has to point the django.wsgi file with the correct path and it should work fine and one can directly run it in apache
- django
- wsgi
The above conf file the easiest way to point the env and the settings together , the user has to point the django.wsgi file with the correct path and it should work fine and one can directly run it in apache
This decorator is for views that one wants only users of the site to logout based on few conditions Just add the decorator and it should logout anyuser who doestnot match the condition btw I borrowed the code from django`s source code
vemubalu has posted 2 snippets.