- 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
-
Notifications
You must be signed in to change notification settings - Fork 0
pythoncali/django-middlewares-context-processors-example
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%