django/tests/regressiontests/middleware/cond_get_urls.py

7 lines
173 B
Python

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