1 from django
.conf
.urls
.defaults
import *
3 urlpatterns
= patterns('',
4 # test_client modeltest urls
5 (r
'^test_client/', include('modeltests.test_client.urls')),
6 (r
'^test_client_regress/', include('regressiontests.test_client_regress.urls')),
8 # Always provide the auth system login and logout views
9 (r
'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
10 (r
'^accounts/logout/$', 'django.contrib.auth.views.logout'),
12 # test urlconf for {% url %} template tag
13 (r
'^url_tag/', include('regressiontests.templates.urls')),
15 # django built-in views
16 (r
'^views/', include('regressiontests.views.urls')),
18 # test urlconf for middleware tests
19 (r
'^middleware/', include('regressiontests.middleware.urls')),
21 (r
'^utils/', include('regressiontests.utils.urls')),
23 # test urlconf for syndication tests
24 (r
'^syndication/', include('regressiontests.syndication.urls')),