Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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

Project Description

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.

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-x-robots-tag-middleware-1.3.1.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Jun 6, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting