Global request objects for Django
Project description
Django Global Requests
Allows for global request objects in your django project
Installation
pip install django-global-requests
Configuration
- Add middleware:
MIDDLEWARE = [ ... 'global_requests.GlobalRequestMiddleware', ]
Usage
from global_requests import get_request
request = get_request()
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
Close
Hashes for django-global-requests-1.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e21700a47f3409a7891ff9770409b43f115bb76a7e91a96363779c6347cda612 |
|
MD5 | 9ea994c64fd068f300698bc5672bd3a2 |
|
BLAKE2b-256 | 0b1c549ec24f7b39fdb3ab045efdc75b0823c679018378572896fe2e878389ac |
Close
Hashes for django_global_requests-1.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ba15e3f8f1b92e93cdf751939d91b0db0c16c6f98f85335cee69cdd24c82f09 |
|
MD5 | 91543d0cb99a4fc66befd1cb05b67b3a |
|
BLAKE2b-256 | 5f625f933a37c4f440421ef050a391e0301d1c00851082946f3fd2e320c019ab |