Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit c5179609847733c4babcc32312686d9fabf37315 1 parent b6a1105
@adrianholovaty adrianholovaty authored
View
2  django/conf/urls/admin.py
@@ -2,7 +2,7 @@
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
2  django/conf/urls/admin_password_reset.py
@@ -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'),
)

0 comments on commit c517960

Please sign in to comment.
Something went wrong with that request. Please try again.