django1/tests/middleware/cond_get_urls.py

7 lines
164 B
Python

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