Skip to main content

Make Django requests aware of the DNT header.

Project description

Do Not Track offers an easy way to pay attention to the DNT HTTP header. If users are sending DNT: 1, DoNotTrackMiddleware will set request.DNT = True, else it will set request.DNT = False.

Just add dnt.middleware.DoNotTrackMiddleware to your MIDDLEWARE_CLASSES and you’re good to go.

Release History

v0.1.0 - 2011-02-16

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-dnt-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file django-dnt-0.1.0.tar.gz.

File metadata

  • Download URL: django-dnt-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-dnt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7fe9e47f54e63a584fb9c0c368bb9015b425c75264f0fa8958fca8316ce58387
MD5 edde1e64a9f9d6dfbdf1606f58e1da72
BLAKE2b-256 718995a64087e967c3cb20377c7f89eb1e850dcb77ebcb88f11619a5363dbf35

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page