Metadata-Version: 2.1
Name: django-tls-rvanlaar
Version: 0.0.3
Summary: Stores the current request in Thread Local Storage using Werkzeug
Home-page: https://github.com/rvanlaar/django-tls
Author: Roland van Laar
Author-email: roland@rolandvanlaar.nl
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Framework :: Django
Requires-Dist: Werkzeug (>=0.6.2)


django-tls
==========

This is a fork from: https://github.com/sorl/django-tls
Stores the current request in `Thread Local Storage`_ using `Werkzeug`_.

Installation::

    pip install git+https://github.com/rvanlaar/django-tls

Configuration::

    # settings.py
    MIDDLEWARE = [
        'tls.TLSRequestMiddleware',
        ...
   ]

Usage::

    from tls import request
    # do something dangerous and useful with current request object

Worried about security? then read this `thread`_.


.. _Thread Local Storage: http://en.wikipedia.org/wiki/Thread-local_storage
.. _Werkzeug: http://werkzeug.pocoo.org/
.. _thread: http://groups.google.com/group/django-users/browse_thread/thread/e7af359d7d183e04


