Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Do-Not-Track middleware
Python
branch: master

One more thing to ignore.

latest commit 269289b1cc
James Socol authored
Failed to load latest commit information.
dnt Middleware exists.
.gitignore One more thing to ignore.
LICENSE Set up setup.py.
MANIFEST.in Set up setup.py.
README.rst Middleware exists.
__init__.py Middleware exists.
setup.py Fix setup.py

README.rst

Django-DNT

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.

Something went wrong with that request. Please try again.