Made small cleanups to two default urlconfs, to be clearer.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-05 22:15:14 +00:00
parent b6a1105768
commit c517960984
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ from django.conf.urls.defaults import *
from django.conf.settings import INSTALLED_APPS
urlpatterns = (
('^/?$', 'django.views.admin.main.index'),
('^$', 'django.views.admin.main.index'),
('^logout/$', 'django.views.auth.login.logout'),
('^password_change/$', 'django.views.registration.passwords.password_change'),
('^password_change/done/$', 'django.views.registration.passwords.password_change_done'),

View File

@ -1,6 +1,6 @@
from django.conf.urls.defaults import *
urlpatterns = patterns('django.views',
(r'^/?$', 'registration.passwords.password_reset', {'is_admin_site' : True}),
(r'^$', 'registration.passwords.password_reset', {'is_admin_site' : True}),
(r'^done/$', 'registration.passwords.password_reset_done'),
)