diff --git a/dss/urls.py b/dss/urls.py index 4d51839..c7fe10d 100644 --- a/dss/urls.py +++ b/dss/urls.py @@ -14,10 +14,10 @@ urlpatterns = patterns('', (r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '/static/img/favicon.ico'}), (r'^channel\.html$', 'django.views.generic.simple.redirect_to', {'url': '/static/html/fb_channel.html'}), (r'^privacy\.html$', 'django.views.generic.simple.redirect_to', {'url': '/static/html/privacy.html'}), - (r'^robots\.txt$', 'django.views.defaults.server_error'), + (r'^robots\.txt$', lambda r: HttpResponse("User-agent: *\nDisallow: /", mimetype="text/plain")), (r'^tos\.html$', 'django.views.generic.simple.redirect_to', {'url': '/static/html/tos.html'}), (r'^test\.html$', 'django.views.generic.simple.redirect_to', {'url': '/static/html/test.html'}), - (r'^500', lambda r: HttpResponse("User-agent: *\nDisallow: /", mimetype="text/plain")), + (r'^500', 'django.views.defaults.server_error'), url(r'^', include('spa.urls')), (r'^grappelli/', include('grappelli.urls')), url(r'^accounts/', include('allauth.urls')),