- Clone the repo
- Run
python manage.py runserver
and go tohttp://localhost:8000/
- Go to
app/settings.py
and uncomment line 51 - Go to
http://localhost:8000/
and check what happens. - You may check the middleware blocking the request in
demo/middlewares.py
- Comment line 51 and uncomment line 67
- Go to
http://localhost:8000/
and check what's different - You may check the context processor adding the new text in
demo/context_processors.py
pythoncali / django-middlewares-context-processors-example Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jlariza/django-middlewares-context-processors-example