Django

Code

root/django/branches/0.96-bugfixes/tests/urls.py

Revision 4659, 499 bytes (checked in by russellm, 2 years ago)

Fixes #2333 -- Added test fixtures framework.

Line 
1 from django.conf.urls.defaults import *
2
3 urlpatterns = patterns('',
4     # test_client modeltest urls
5     (r'^test_client/', include('modeltests.test_client.urls')),
6
7     # Always provide the auth system login and logout views
8     (r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
9     (r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
10
11     # test urlconf for {% url %} template tag
12     (r'^url_tag/', include('regressiontests.templates.urls')),
13 )
Note: See TracBrowser for help on using the browser.