Skip to content

pythoncali/django-middlewares-context-processors-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django middlewares context processors example

Demo app created for Python Cali session - July 15 2023

How to run this project

  • Clone the repo
  • Run python manage.py runserver and go to http://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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%