from django.conf.urls.defaults import * from django.views.generic.simple import direct_to_template urlpatterns = patterns('', (r'^robots.txt$', direct_to_template, {'template': 'modules/robotsdennyall/robots.txt'}), )