diff --git a/django/conf/urls/admin.py b/django/conf/urls/admin.py index 89b7040472..dbe30940d6 100644 --- a/django/conf/urls/admin.py +++ b/django/conf/urls/admin.py @@ -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'), diff --git a/django/conf/urls/admin_password_reset.py b/django/conf/urls/admin_password_reset.py index 4a8b166f61..afa078205a 100644 --- a/django/conf/urls/admin_password_reset.py +++ b/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'), )