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:
parent
b6a1105768
commit
c517960984
|
@ -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'),
|
||||
|
|
|
@ -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'),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue