This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
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.

Installation

From pypi:

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

or:

$ easy_install django-x-robots-tag-middleware

or clone from github:

$ git clone git://github.com/cyface/django-x-robots-tag-middleware.git

Usage

  1. Add 'x_robots_middleware.XRobotsMiddleware', to your middleware list in settings.py.
  2. Add X_ROBOTS_TAG = ['noindex','nofollow'] to your settings.py 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

1.3.1

History Node

1.3

History Node

1.2

History Node

1.1

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

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