Django change_password NoReverseMatch at /accounts/password/change/
问题 I have the following url config in accounts/urls.py: url(r'^password/change/$', 'django.contrib.auth.views.password_change', {'template_name': 'change_password.html'}, name='password_change'), url(r'^password/change/done/$', 'django.contrib.auth.views.logout_then_login', name='password_change_done'), But if I call the password-change url I get the following error: NoReverseMatch at /accounts/password/change/ Reverse for 'password_change_done' with arguments '()' and keyword arguments '{}' not