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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e3d3c2b5ee09bb6d60bc6db98a4eec9351f24069f787e05d24229b75b9fe8b4 |
|
MD5 | 6361bcf762c56e6493c9964587cec660 |
|
BLAKE2b-256 | 470554c94110eeeea9b48bb61c5d1325e9ba20900341e8e9e41e4cb264f9e26f |
Close
Hashes for django_global_requests-1.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ae32a938fad3e0eff738a9f343a70378722b489e2473d2f9900e1c1116f4556 |
|
MD5 | 5884b437132858f45e8b540a460612b5 |
|
BLAKE2b-256 | c6332bf0648386b6ee145c5fb7e3189c42dcf452fdf86c76b4565aa81dc42ac7 |