urls.py 1.16 KB
Newer Older
1
from django.conf.urls import patterns, include
2 3 4 5

urlpatterns = patterns('',
    # test_client modeltest urls
    (r'^test_client/', include('modeltests.test_client.urls')),
6
    (r'^test_client_regress/', include('regressiontests.test_client_regress.urls')),
7

8 9 10
    # File upload test views
    (r'^file_uploads/', include('regressiontests.file_uploads.urls')),

11 12
    # Always provide the auth system login and logout views
    (r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
13
    (r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
14 15 16

    # test urlconf for {% url %} template tag
    (r'^url_tag/', include('regressiontests.templates.urls')),
17

18 19
    # django built-in views
    (r'^views/', include('regressiontests.views.urls')),
20 21 22

    # test urlconf for middleware tests
    (r'^middleware/', include('regressiontests.middleware.urls')),
23

24 25
    # admin widget tests
    (r'widget_admin/', include('regressiontests.admin_widgets.urls')),
26

27 28 29
    # admin custom URL tests
    (r'^custom_urls/', include('regressiontests.admin_custom_urls.urls')),

30
    # admin scripts tests
31 32
    (r'^admin_scripts/', include('regressiontests.admin_scripts.urls')),

33
)