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
|
from django.conf.settings import INSTALLED_APPS
|
||||||
|
|
||||||
urlpatterns = (
|
urlpatterns = (
|
||||||
('^/?$', 'django.views.admin.main.index'),
|
('^$', 'django.views.admin.main.index'),
|
||||||
('^logout/$', 'django.views.auth.login.logout'),
|
('^logout/$', 'django.views.auth.login.logout'),
|
||||||
('^password_change/$', 'django.views.registration.passwords.password_change'),
|
('^password_change/$', 'django.views.registration.passwords.password_change'),
|
||||||
('^password_change/done/$', 'django.views.registration.passwords.password_change_done'),
|
('^password_change/done/$', 'django.views.registration.passwords.password_change_done'),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from django.conf.urls.defaults import *
|
from django.conf.urls.defaults import *
|
||||||
|
|
||||||
urlpatterns = patterns('django.views',
|
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'),
|
(r'^done/$', 'registration.passwords.password_reset_done'),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue