PageRenderTime 393ms CodeModel.GetById 201ms app.highlight 1ms RepoModel.GetById 191ms app.codeStats 0ms

/tests/regressiontests/middleware/cond_get_urls.py

https://code.google.com/p/mango-py/
Python | 6 lines | 5 code | 1 blank | 0 comment | 0 complexity | 2531deeeb6b9ba07172be055edfcb27f MD5 | raw file
1from django.conf.urls.defaults import patterns
2from django.http import HttpResponse
3
4urlpatterns = patterns('',
5    (r'^$', lambda request: HttpResponse('root is here')),
6)