# django-dnt **Repository Path**: mirrors_mozilla/django-dnt ## Basic Information - **Project Name**: django-dnt - **Description**: Do-Not-Track middleware - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-22 - **Last Updated**: 2026-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ========== Django-DNT ========== .. image:: http://img.shields.io/travis/mozilla/django-dnt/master.svg :alt: The status of Travis continuous integration tests :target: https://travis-ci.org/mozilla/django-dnt .. image:: https://img.shields.io/codecov/c/github/mozilla/django-dnt.svg :target: https://codecov.io/gh/mozilla/django-dnt :alt: The code coverage .. image:: https://img.shields.io/pypi/v/django-dnt.svg :alt: The PyPI package :target: https://pypi.python.org/pypi/django-dnt .. Omit badges from docs ``django-dnt`` offers an easy way to pay attention to the ``DNT`` (`Do Not Track `_) 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`` (Django 1.9 and earlier) or ``MIDDLEWARE`` (Django 1.10 and later) and you're good to go.