2006-09-02 17:34:40 +08:00
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
# test_client modeltest urls
|
|
|
|
(r'^test_client/', include('modeltests.test_client.urls')),
|
2007-05-10 21:46:15 +08:00
|
|
|
(r'^test_client_regress/', include('regressiontests.test_client_regress.urls')),
|
2006-09-02 17:34:40 +08: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 21:11:08 +08:00
|
|
|
(r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
|
2007-02-13 12:24:58 +08:00
|
|
|
|
|
|
|
# test urlconf for {% url %} template tag
|
|
|
|
(r'^url_tag/', include('regressiontests.templates.urls')),
|
2006-09-02 17:34:40 +08:00
|
|
|
)
|