From b4e8dd665afa6058dd90554d82b2b6a55cc0b837 Mon Sep 17 00:00:00 2001 From: sanj Date: Thu, 5 Aug 2010 01:26:53 +0530 Subject: [PATCH] serve robots.txt with mimetype = text/plain --- itf/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itf/urls.py b/itf/urls.py index d54f7e1..f309fee 100644 --- a/itf/urls.py +++ b/itf/urls.py @@ -13,7 +13,7 @@ urlpatterns = patterns('', # Example: # (r'^bhangar/', include('bhangar.foo.urls')), #(r'^search/', include('solango.urls')), - (r'^robots.txt$', direct_to_template, {'template': 'robots.txt'}), + (r'^robots.txt$', direct_to_template, {'template': 'robots.txt', 'mimetype': 'text/plain'}), (r'^erang/', include('erang_organised.urls')), (r'^itf/$', 'festival.views.home'), (r'^itf/wireframe', 'festival.views.wireframe'),