21 lines
782 B
Python
21 lines
782 B
Python
from django.conf.urls.defaults import *
|
|
|
|
urlpatterns = patterns('',
|
|
# test_client modeltest urls
|
|
(r'^test_client/', include('modeltests.test_client.urls')),
|
|
(r'^test_client_regress/', include('regressiontests.test_client_regress.urls')),
|
|
|
|
# Always provide the auth system login and logout views
|
|
(r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
|
|
(r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
|
|
|
|
# test urlconf for {% url %} template tag
|
|
(r'^url_tag/', include('regressiontests.templates.urls')),
|
|
|
|
# django built-in views
|
|
(r'^views/', include('regressiontests.views.urls')),
|
|
|
|
# test urlconf for middleware tests
|
|
(r'^middleware/', include('regressiontests.middleware.urls')),
|
|
)
|