0
0
mirror of https://github.com/django/django.git synced 2024-11-24 20:07:01 +01:00
django/tests/urls.py
2006-09-02 09:34:40 +00:00

11 lines
388 B
Python

from django.conf.urls.defaults import *
urlpatterns = patterns('',
# test_client modeltest urls
(r'^test_client/', include('modeltests.test_client.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.login'),
)