# HG changeset patch # User Brian Neal # Date 1336247960 18000 # Node ID 217a6319278cffb67e9b57bbd1f9db1396b02c52 # Parent a18516692273fd78e7cf42c51bfd91480c9b3043 For Django 1.4, added the admin password reset feature. diff -r a18516692273 -r 217a6319278c gpp/urls.py --- a/gpp/urls.py Sat May 05 14:49:42 2012 -0500 +++ b/gpp/urls.py Sat May 05 14:59:20 2012 -0500 @@ -15,6 +15,12 @@ urlpatterns = patterns('', url(r'^$', 'views.home', name='home'), (r'^admin/doc/', include('django.contrib.admindocs.urls')), + + url(r'^admin/password_reset/$', 'django.contrib.auth.views.password_reset', name='admin_password_reset'), + (r'^admin/password_reset/done/$', 'django.contrib.auth.views.password_reset_done'), + (r'^reset/(?P[0-9A-Za-z]+)-(?P.+)/$', 'django.contrib.auth.views.password_reset_confirm'), + (r'^reset/done/$', 'django.contrib.auth.views.password_reset_complete'), + (r'^admin/', include(admin.site.urls)), (r'^accounts/', include('accounts.urls')), (r'^antispam/', include('antispam.urls')),