Metadata-Version: 2.1
Name: django-request-vars
Version: 1.0.1
Summary: Stores current request, user and your defined data in thread local variable.
Home-page: https://github.com/kindlycat/django-request-vars/
Author: Grigory Mishchenko
Author-email: grishkokot@gmail.com
License: UNKNOWN
Keywords: django,thread,variable,request,user,cache,middleware
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Classifier: License :: OSI Approved :: BSD License
Requires-Dist: Django (>=1.11)

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

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

Full documentation on `read the docs`_.

Installation
------------
Install using pip:

.. code-block:: sh

    $ pip install django-request-vars

Add to installed apps:

.. code-block:: python

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

Add middleware:

.. code-block:: python

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


.. _`read the docs`: https://django-request-vars.readthedocs.io/en/master/


