PageRenderTime 18ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/regressiontests/urlpatterns_reverse/urls_without_full_import.py

https://code.google.com/p/mango-py/
Python | 10 lines | 6 code | 1 blank | 3 comment | 0 complexity | f31a64a68aaf34648fa3f8bfb6c9d2ac MD5 | raw file
 1# A URLs file that doesn't use the default
 2# from django.conf.urls.defaults import *
 3# import pattern.
 4from django.conf.urls.defaults import patterns, url
 5from views import empty_view, bad_view
 6
 7urlpatterns = patterns('',
 8    url(r'^test_view/$', empty_view, name="test_view"),
 9    url(r'^bad_view/$', bad_view, name="bad_view"),
10)