]> git.openstreetmap.org Git - osqa.git/commitdiff
Merge pull request #44 from udacity/merge_small_prs
authorJavyer Der Derian <javier@tribalo.net>
Thu, 17 Apr 2014 21:57:03 +0000 (18:57 -0300)
committerJavyer Der Derian <javier@tribalo.net>
Thu, 17 Apr 2014 21:57:03 +0000 (18:57 -0300)
Merge small prs

forum_modules/robotstxt/urls.py

index 5f74a0a62dd250268888945cf2614fb33f87415d..ddcac3bccdaa68444ab5f9adf5b9d74e4697ea01 100644 (file)
@@ -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')),
 )