X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/7be81dfc799101c3d7e646d76b07ac30fc39bf61..99d077e46d0eb3efd5e96a65f120e6e4b6197db0:/forum_modules/robotstxt/urls.py diff --git a/forum_modules/robotstxt/urls.py b/forum_modules/robotstxt/urls.py index 5f74a0a..ddcac3b 100644 --- a/forum_modules/robotstxt/urls.py +++ b/forum_modules/robotstxt/urls.py @@ -3,5 +3,5 @@ from django.http import HttpResponse import settings urlpatterns = patterns('', - (r'^robots.txt$', lambda r: HttpResponse(settings.ROBOTS_FILE.value)), + (r'^robots.txt$', lambda r: HttpResponse(settings.ROBOTS_FILE.value, content_type='text/plain')), )