Skip to main content

Enables returning the X-Robots-Tag header based on Django settings.

Project description

PyPi Package Version Travis Build Status Coveralls Code Coverage Scrutinizer Code Quality Documentation Status

Simple Django middleware to use the X-Robots-Tag header based on a config param.


From pypi:

$ pip install django-x-robots-tag-middleware


$ easy_install django-x-robots-tag-middleware

or clone from github:

$ git clone git://


  1. Add 'x_robots_middleware.XRobotsMiddleware', to your middleware list in
  2. Add X_ROBOTS_TAG = ['noindex','nofollow'] to your with the settings you want for the X_ROBOTS_TAG.

Details about the values for the tag and what they do can be found in the Google Documentation.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-x-robots-tag-middleware-1.3.1.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Jun 6, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page