Skip to main content

Stores current request, user and your defined data in thread local variable.

Project description

Application that stores current request, user and your defined data in thread local variable.

Installation

Install using pip:

$ pip install django-request-vars

Add to installed apps:

INSTALLED_APPS = (
    ...
    'request_vars',
    ...
)

Add middleware:

MIDDLEWARE = [
    ...
    'request_vars.middleware.RequestVarsMiddleware',
    ...
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-request-vars-1.0.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

django_request_vars-1.0.0-py2.py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page