Skip to main content

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

Project description

https://travis-ci.org/kindlycat/django-request-vars.svg?branch=master https://coveralls.io/repos/github/kindlycat/django-request-vars/badge.svg?branch=master https://readthedocs.org/projects/django-request-vars/badge/?version=latest https://img.shields.io/pypi/v/django-request-vars.svg https://img.shields.io/pypi/pyversions/django-request-vars.svg https://img.shields.io/badge/django-%3E%3D1.11-green.svg https://img.shields.io/gitter/room/nwjs/nw.js.svg

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

Full documentation on read the docs.

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.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

django_request_vars-1.0.1-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-request-vars-1.0.1.tar.gz.

File metadata

File hashes

Hashes for django-request-vars-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6aacf2656056bc1b1c997061c59055bb0116c98e0547641d1955e0a4432d17c1
MD5 10c5977162335b33eee244bff912144e
BLAKE2b-256 6481ae74cf4bb2e0ac8fb4cb1a07daedf410f54f4196c61de13d2b54c0e1b5e9

See more details on using hashes here.

File details

Details for the file django_request_vars-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_request_vars-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2bda24d43eaca0d75989e09a48a2536cd47690413570f4b9c1982e78e332a37e
MD5 cb790534020f68b1c7ad6796ef03b5a3
BLAKE2b-256 1e91fc4380760299b4015b346c914dab03a2d5e30f2ec332499b2647a0509613

See more details on using hashes here.

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