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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f36302d099a5740b91d5e06957d312551ee3f087b60b8802a6f8314164fdee95 |
|
MD5 | 3cfced498aad5f7cb05b7bcd94ff24f5 |
|
BLAKE2b-256 | 796754e6e1d57b655d03bb645ffa171694dbce2d29a293bd3ffbe2595a728caf |
Close
Hashes for django_global_requests-1.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 245d5db84c76998845652492af4a385f2709accf90637b25cca9e6580605b9e2 |
|
MD5 | 941ff2fd24c55aac0817f8ab8c00d71b |
|
BLAKE2b-256 | 699be837e61c1d11805efda4c7385dcac215f170e481bbee6d68d39a7ae6218e |