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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a59bfb045b60aa13fcdcc8ae60d02d53feabc9e61cf3958f81cedca4d201860c |
|
MD5 | 457bd4ca4d103e6e5efa89dfa7c2e86f |
|
BLAKE2b-256 | 34e096c4b78971a43d26f4bc6b93182fc3ac7122c5fb5b2174af1a18b9f54ab1 |
Close
Hashes for django_global_requests-1.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7658232a34655fd773155d0c08c97eab7d963bf1b6446eb1d517eb0e2bb304df |
|
MD5 | d080e6e5313ad325a1bb978b24f27da9 |
|
BLAKE2b-256 | 61af12dd4062e57085a232f93d90b33531b974299e3fd8bc740632d65a9eb255 |