Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A simple way to add robots.txt and humans.txt to your Django project

Project description

Current PyPi version Build status Requirements Status

A simple way to add robots.txt and humans.txt to your Django project

Quickstart

Install django-cyborg:

pip install django-cyborg

Add cyborg your INSTALLED_APPS:

INSTALLED_APPS=[
    ...
    'cyborg',
]

Add cyborg to your urls.py:

url(r'^', include('cyborg.urls')),

Customising

To add your own text to either robots.txt or humans.txt simply override the relevant template. Create a cyborg/robots.txt or a cyborg/humans.txt and place it somewhere that is discoverable by your template loader.

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements/test.txt
(myenv) $ python runtests.py

Credits

Tools used in rendering this package:

History

0.2.0 (2015-12-08)

  • First release on PyPI.

Project details


Release history Release notifications

This version
History Node

0.2.1

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_cyborg-0.2.1-py2.py3-none-any.whl (5.0 kB) Copy SHA256 hash SHA256 Wheel 2.7 Dec 8, 2015
django-cyborg-0.2.1.tar.gz (5.4 kB) Copy SHA256 hash SHA256 Source None Dec 8, 2015

Supported by

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