PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 4ms RepoModel.GetById 37ms app.codeStats 0ms

/tests/urls.py

https://code.google.com/p/mango-py/
Python | 46 lines | 44 code | 2 blank | 0 comment | 0 complexity | e8dc2e795fbd7df9ef9f2afdb146e212 MD5 | raw file
 1from django.conf.urls.defaults import *
 2
 3
 4urlpatterns = patterns('',
 5    # test_client modeltest urls
 6    (r'^test_client/', include('modeltests.test_client.urls')),
 7    (r'^test_client_regress/', include('regressiontests.test_client_regress.urls')),
 8
 9    # File upload test views
10    (r'^file_uploads/', include('regressiontests.file_uploads.urls')),
11
12    # Always provide the auth system login and logout views
13    (r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
14    (r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
15
16    # test urlconf for {% url %} template tag
17    (r'^url_tag/', include('regressiontests.templates.urls')),
18
19    # django built-in views
20    (r'^views/', include('regressiontests.views.urls')),
21
22    # test urlconf for middleware tests
23    (r'^middleware/', include('regressiontests.middleware.urls')),
24
25    # admin view tests
26    (r'^test_admin/', include('regressiontests.admin_views.urls')),
27    (r'^generic_inline_admin/', include('regressiontests.generic_inline_admin.urls')),
28
29    # admin widget tests
30    (r'widget_admin/', include('regressiontests.admin_widgets.urls')),
31
32    # test urlconf for syndication tests
33    (r'^syndication/', include('regressiontests.syndication.urls')),
34
35    # conditional get views
36    (r'condition/', include('regressiontests.conditional_processing.urls')),
37
38    # middleware exceptions tests
39    (r'middleware_exceptions/', include('regressiontests.middleware_exceptions.urls')),
40
41    # special headers views
42    (r'special_headers/', include('regressiontests.special_headers.urls')),
43
44    # test util views
45    (r'test_utils/', include('regressiontests.test_utils.urls')),
46)