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
Just add x_robots_middleware.XRobotsMiddleware to your middleware.
And add this config param:
X_ROBOTS_TAG = ['noindex','nofollow']
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.
Source Distribution
Close
Hashes for django-x-robots-tag-middleware-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2088466a5977d63ae51b620b1db1d17331ee80895522c1a33bead4ae1f31b8 |
|
MD5 | ea01f9c2563acfb10e8077e13959d129 |
|
BLAKE2b-256 | cf3932e71c3f620ab086e770e5d2eab84b11860047112c5ad0599ea2169a2457 |