Software Details:
Version: 1.0.0
Upload Date: 20 Feb 15
Distribution Type: Freeware
Downloads: 15
django-request-provider is a Django app to get the request from anywhere.
It is inspired on the: django-contrib-requestprovider-1.0.1
Usage
Add the following middleware to setings.py:
MIDDLEWARE_CLASSES=(
... 'request_provider.middleware.RequestProvider', ... )
And when you require the request, just do:
from request_provider.signals import get_request http_request = get_request()
Requirements:
- Python
- Django
Comments not found