2011-09-12 00:36:16 +02:00
|
|
|
from django.conf.urls import patterns, include
|
2006-09-02 11:34:40 +02:00
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
# test_client modeltest urls
|
|
|
|
(r'^test_client/', include('modeltests.test_client.urls')),
|
2007-05-10 15:46:15 +02:00
|
|
|
(r'^test_client_regress/', include('regressiontests.test_client_regress.urls')),
|
2006-09-02 11:34:40 +02:00
|
|
|
|
2008-07-01 17:10:51 +02:00
|
|
|
# File upload test views
|
|
|
|
(r'^file_uploads/', include('regressiontests.file_uploads.urls')),
|
|
|
|
|
2006-09-02 11:34:40 +02: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 14:11:08 +01:00
|
|
|
(r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
|
2007-02-13 05:24:58 +01:00
|
|
|
|
|
|
|
# test urlconf for {% url %} template tag
|
|
|
|
(r'^url_tag/', include('regressiontests.templates.urls')),
|
2008-03-17 18:47:34 +01:00
|
|
|
|
2007-09-17 16:48:33 +02:00
|
|
|
# django built-in views
|
|
|
|
(r'^views/', include('regressiontests.views.urls')),
|
2007-12-03 00:25:55 +01:00
|
|
|
|
|
|
|
# test urlconf for middleware tests
|
|
|
|
(r'^middleware/', include('regressiontests.middleware.urls')),
|
2009-03-22 08:58:29 +01:00
|
|
|
|
2009-01-16 16:32:31 +01:00
|
|
|
# admin widget tests
|
|
|
|
(r'widget_admin/', include('regressiontests.admin_widgets.urls')),
|
2008-03-17 18:47:34 +01:00
|
|
|
|
2011-09-20 20:30:06 +02:00
|
|
|
# admin custom URL tests
|
|
|
|
(r'^custom_urls/', include('regressiontests.admin_custom_urls.urls')),
|
|
|
|
|
2011-12-29 18:03:38 +01:00
|
|
|
# admin scripts tests
|
2011-12-22 23:38:02 +01:00
|
|
|
(r'^admin_scripts/', include('regressiontests.admin_scripts.urls')),
|
|
|
|
|
2006-09-02 11:34:40 +02:00
|
|
|
)
|