Stores the current request in Thread Local Storage using Werkzeug
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-tls-rvanlaar-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55659a6130d956e2bed454177809b2f00dfce3e207610259ae306f36f206fdc0 |
|
MD5 | 25103065c29ad360987bdd6a6e316b75 |
|
BLAKE2b-256 | 91fd26ef76b498dd87cb8cf03bc56b91d64a15bce0eac74ffb8e47b2d8d2a332 |
Close
Hashes for django_tls_rvanlaar-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b02bb69498a91b93798fb49d7574357f95381a29e7b6390517500dad538f0d54 |
|
MD5 | 1457563df06381fb359de46e6d95bc55 |
|
BLAKE2b-256 | baeedd69a1539defbab8245b7c622f30249b1cd181b5a27a143bb21255ba39d4 |