Skip to main content

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.

Metadata

Release files for django-tls 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-tls 0.0.2
File Size Uploaded Provenance
django-tls-0.0.2.tar.gz 2.6 kB Without provenance Details

Release files / django-tls-0.0.2.tar.gz

Download URL django-tls-0.0.2.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0c14325b630e60a423ef0e3ebd5ebeb78b6cf4e8896540b8d144e40ed3fc0242
BLAKE2b-256 checksum
How to use checksums
82e72c21bf70fd9760efc1d2ad3316bba55ec0ed63c3b9b6e45da65bbf2342b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-tls 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page