serve robots.txt with mimetype = text/plain
This commit is contained in:
parent
a3646f40fb
commit
b4e8dd665a
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user