django1/tests/middleware/cond_get_urls.py

7 lines
151 B
Python

from django.conf.urls import url
from django.http import HttpResponse
urlpatterns = [
url(r'^$', lambda request: HttpResponse('root is here')),
]