]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/robotstxt/urls.py
Replace deprecated mimetype with content_type
[osqa.git] / forum_modules / robotstxt / urls.py
1 from django.conf.urls import patterns, url, include
2 from django.http import  HttpResponse
3 import settings
4
5 urlpatterns = patterns('',
6     (r'^robots.txt$',  lambda r: HttpResponse(settings.ROBOTS_FILE.value, content_type='text/plain')),
7 )