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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12c4b33b570d97226b8fda95caa62c18424455df5817b1bfb996680f4752c86f |
|
MD5 | 7a6fe5eb451ea82865400c44eded8247 |
|
BLAKE2b-256 | 9bb525ffbd077ed68acd3e5df8abf84a1eb6970866a4d87134c4ef00a04887cb |
Close
Hashes for django_global_requests-1.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69baa1033e8d737e49d1121e9e7b6caedd2efd0ce89275720337480c6a16b9d9 |
|
MD5 | ec9ba6c717d6b218a46209a450443271 |
|
BLAKE2b-256 | 5f9a32f04219944cfe8ddff80c8ad34b4678c4573f0769a40234f65a05ff862f |