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 to installed apps:
INSTALLED_APPS = [ ... 'global_requests', ]
-
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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e00c2b0cf75c803fa0579640bab88c10c5aa0be59b5e859b61b497cbce253f4 |
|
MD5 | e8956752a3db1ea34e99f1d1c3924f25 |
|
BLAKE2b-256 | f603d5f6aa905cbfe8141793e9c01549ead3873ac27cd1812b600ea597e2d3eb |
Close
Hashes for django_global_requests-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8d797e2ab7191a15d3a9d378f5c27fbe6d5dbcbfaecf9991d982f72965e1dac |
|
MD5 | c6dd5720bd75f0ed6567eba3421b60fb |
|
BLAKE2b-256 | 4189d7be89cf87959f7c3290c24e72eb968f9b7f2121e0f6c018624db7d0700d |