Django

Code

root/django/trunk/tests/urls.py

Revision 7328, 0.9 kB (checked in by mtredinnick, 2 months ago)

Merged the tests and documentation from #4720 to support the changes in [7295].
Thanks, Andy Gayton. Fixed #4720. Refs #5855.

  • Property svn:eol-style set to native
Line 
1 from django.conf.urls.defaults import *
2
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')),
7
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'),
11
12     # test urlconf for {% url %} template tag
13     (r'^url_tag/', include('regressiontests.templates.urls')),
14
15     # django built-in views
16     (r'^views/', include('regressiontests.views.urls')),
17
18     # test urlconf for middleware tests
19     (r'^middleware/', include('regressiontests.middleware.urls')),
20
21     (r'^utils/', include('regressiontests.utils.urls')),
22
23     # test urlconf for syndication tests
24     (r'^syndication/', include('regressiontests.syndication.urls')),
25 )
Note: See TracBrowser for help on using the browser.