Application that stores current request, user and your defined data in thread local variable.
Full documentation on read the docs.
Django: >= 1.11 Python: 2.7, >=3.4
Install using pip:
$ pip install django-request-vars
Add to installed apps if you need template tags:
INSTALLED_APPS = (
...
'request_vars',
...
)
Add middleware:
MIDDLEWARE = [
...
'request_vars.middleware.RequestVarsMiddleware',
...
]