X-Git-Url: https://git.openstreetmap.org/osqa.git/blobdiff_plain/10efc0a4a93e14927ad3eec982e44233b8164509..f663d83fa599b3bae252015d7a88550652681c49:/osqa/forum_modules/robotstxt/urls.py?ds=sidebyside diff --git a/osqa/forum_modules/robotstxt/urls.py b/osqa/forum_modules/robotstxt/urls.py new file mode 100644 index 0000000..0706886 --- /dev/null +++ b/osqa/forum_modules/robotstxt/urls.py @@ -0,0 +1,7 @@ +from django.conf.urls.defaults import * +from django.http import HttpResponse +import settings + +urlpatterns = patterns('', + (r'^robots.txt$', lambda r: HttpResponse(settings.ROBOTS_FILE.value)), +)