2006-09-02 09:34:40 +00:00
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
# test_client modeltest urls
|
|
|
|
(r'^test_client/', include('modeltests.test_client.urls')),
|
2007-05-10 13:46:15 +00:00
|
|
|
(r'^test_client_regress/', include('regressiontests.test_client_regress.urls')),
|
2006-09-02 09:34:40 +00:00
|
|
|
|
2008-07-01 15:10:51 +00:00
|
|
|
# File upload test views
|
|
|
|
(r'^file_uploads/', include('regressiontests.file_uploads.urls')),
|
|
|
|
|
2006-09-02 09:34:40 +00:00
|
|
|
# Always provide the auth system login and logout views
|
|
|
|
(r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
|
2007-03-01 13:11:08 +00:00
|
|
|
(r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
|
2007-02-13 04:24:58 +00:00
|
|
|
|
|
|
|
# test urlconf for {% url %} template tag
|
|
|
|
(r'^url_tag/', include('regressiontests.templates.urls')),
|
2008-03-17 17:47:34 +00:00
|
|
|
|
2007-09-17 14:48:33 +00:00
|
|
|
# django built-in views
|
|
|
|
(r'^views/', include('regressiontests.views.urls')),
|
2007-12-02 23:25:55 +00:00
|
|
|
|
|
|
|
# test urlconf for middleware tests
|
|
|
|
(r'^middleware/', include('regressiontests.middleware.urls')),
|
2009-03-22 07:58:29 +00:00
|
|
|
|
2008-07-18 23:54:34 +00:00
|
|
|
# admin view tests
|
|
|
|
(r'^test_admin/', include('regressiontests.admin_views.urls')),
|
2008-11-13 19:03:44 +00:00
|
|
|
(r'^generic_inline_admin/', include('regressiontests.generic_inline_admin.urls')),
|
2009-03-22 07:58:29 +00:00
|
|
|
|
2009-01-16 15:32:31 +00:00
|
|
|
# admin widget tests
|
|
|
|
(r'widget_admin/', include('regressiontests.admin_widgets.urls')),
|
2008-03-17 17:47:34 +00:00
|
|
|
|
|
|
|
(r'^utils/', include('regressiontests.utils.urls')),
|
2008-03-20 06:35:53 +00:00
|
|
|
|
|
|
|
# test urlconf for syndication tests
|
|
|
|
(r'^syndication/', include('regressiontests.syndication.urls')),
|
2009-03-22 07:58:29 +00:00
|
|
|
|
|
|
|
# conditional get views
|
|
|
|
(r'condition/', include('regressiontests.conditional_processing.urls')),
|
2010-01-10 16:51:13 +00:00
|
|
|
|
2010-01-10 17:35:01 +00:00
|
|
|
# middleware exceptions tests
|
|
|
|
(r'middleware_exceptions/', include('regressiontests.middleware_exceptions.urls')),
|
|
|
|
|
2010-01-10 16:51:13 +00:00
|
|
|
# special headers views
|
|
|
|
(r'special_headers/', include('regressiontests.special_headers.urls')),
|
2010-10-20 01:33:24 +00:00
|
|
|
|
|
|
|
# static files handling
|
|
|
|
(r'^', include('regressiontests.staticfiles_tests.urls.default')),
|
2006-09-02 09:34:40 +00:00
|
|
|
)
|