from django.conf.urls import url, include
from django.views.decorators.csrf import csrf_exempt
from snakr.views import Dispatcher
from django.http import HttpResponse

d = Dispatcher()
urlpatterns = [
    url(r'^robots.txt$', lambda r: HttpResponse("User-agent: *\nDisallow: /", content_type="text/plain")),
    url(r'^.*$', csrf_exempt(d.dispatch(
        GET=d.get_handler,
        POST=d.post_handler,
        ))),
]

d74f822f0532bb6e8403ff78ca5ca5887a85b27d
<mask token>

<mask token>
d = Dispatcher()
urlpatterns = [url('^robots.txt$', lambda r: HttpResponse(
    """User-agent: *
Disallow: /""", content_type='text/plain')), url(
    '^.*$', csrf_exempt(d.dispatch(GET=d.get_handler, POST=d.post_handler)))]

from django.conf.urls import url, include
from django.views.decorators.csrf import csrf_exempt
from snakr.views import Dispatcher
from django.http import HttpResponse
d = Dispatcher()
urlpatterns = [url('^robots.txt$', lambda r: HttpResponse(
    """User-agent: *
Disallow: /""", content_type='text/plain')), url(
    '^.*$', csrf_exempt(d.dispatch(GET=d.get_handler, POST=d.post_handler)))]

from django.conf.urls import url, include
from django.views.decorators.csrf import csrf_exempt
from snakr.views import Dispatcher
from django.http import HttpResponse

d = Dispatcher()
urlpatterns = [
    url(r'^robots.txt$', lambda r: HttpResponse("User-agent: *\nDisallow: /", content_type="text/plain")),
    url(r'^.*$', csrf_exempt(d.dispatch(
        GET=d.get_handler,
        POST=d.post_handler,
        ))),
]
