Stores current request, user and your defined data in thread local variable.
Project description
Application that stores current request, user and your defined data in thread local variable.
Full documentation on read the docs.
Installation
Install using pip:
$ pip install django-request-vars
Add to installed apps:
INSTALLED_APPS = (
...
'request_vars',
...
)
Add middleware:
MIDDLEWARE = [
...
'request_vars.middleware.RequestVarsMiddleware',
...
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-request-vars-1.0.1.tar.gz
.
File metadata
- Download URL: django-request-vars-1.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aacf2656056bc1b1c997061c59055bb0116c98e0547641d1955e0a4432d17c1 |
|
MD5 | 10c5977162335b33eee244bff912144e |
|
BLAKE2b-256 | 6481ae74cf4bb2e0ac8fb4cb1a07daedf410f54f4196c61de13d2b54c0e1b5e9 |
File details
Details for the file django_request_vars-1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: django_request_vars-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bda24d43eaca0d75989e09a48a2536cd47690413570f4b9c1982e78e332a37e |
|
MD5 | cb790534020f68b1c7ad6796ef03b5a3 |
|
BLAKE2b-256 | 1e91fc4380760299b4015b346c914dab03a2d5e30f2ec332499b2647a0509613 |