skip to navigation
skip to content

django-request-provider 1.0.2

access django request object whenever you need it

A middle 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()
 
File Type Py Version Uploaded on Size
django-request-provider-1.0.2.tar.gz (md5) Source 2012-12-29 2KB