skip to navigation
skip to content

Not Logged In

django-tls 0.0.2

Stores the current request in Thread Local Storage using Werkzeug

Stores the current request in Thread Local Storage using Werkzeug.

Installation:

pip install django-tls

Configuration:

# settings.py
MIDDLEWARE_CLASSES = (
    'tls.TLSRequestMiddleware',
    ...
)

Usage:

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

Worried about security? then read this thread.

 
File Type Py Version Uploaded on Size
django-tls-0.0.2.tar.gz (md5) Source 2011-05-02 2KB
  • Downloads (All Versions):
  • 3 downloads in the last day
  • 35 downloads in the last week
  • 263 downloads in the last month