Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > HTTP (WWW)

    django-robots-txt 0.3

    Download button

    No screenshots available
    Downloads: 98  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Nicolas Kuttler | More programs
    BSD License / FREE
    June 20th, 2012, 21:37 GMT [view history]
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-robots-txt description

    Simple robots.txt app for Django

    django-robots-txt is a simple Django app to create a robots.txt for Django. It has no models at all and you're supposed to edit a template to update the robots.txt file. I just got tired of copy & pasting this into my apps.

    See the robots page for details what the file should look like.

    Usage

    Get django-robots-txt into your python path:

    pip install django-robots-txt

    Add robots_txt to your INSTALLED_APPS in settings.py:

    INSTALLED_APPS = (
     ...,
     'robots_txt',
     ...,
    )


    Add a robots.txt view to your root urlconf (urls.py):

    from django.conf.urls.defaults import patterns, include, url
    from robots_txt.views import RobotsTextView


    urlpatterns = patterns('',
     ...,
     url(r'^robots.txt$', RobotsTextView.as_view()),
     ...,
    )


    This urlconf entry is also supported:

    urlpatterns = patterns('',
     ...,
     url(r'', include('robots_txt.urls')),
     ...,
    )


    Create your custom robots.txt file in one of your template directories under robots_txt/robots.txt. The default template is empty.


    Product's homepage

    Requirements:

    · Python
    · Django

    What's New in This Release: [ read full changelog ]

    · Bugfix for included urlconfig

      


    TAGS:

    robots.txt generator | Django robots.txt | Django | robots.txt | generator

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM