NoReverseMatch at / Reverse for 'password_change_done' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
问题 my views part: @login_required def password_change(request, template_name='register.html', password_change_form=PasswordChangeForm,): if post_change_redirect is None: post_change_redirect = reverse('student:login') else: post_change_redirect = reverse_url(post_change_redirect) if request.method == 'POST': form = password_change_form(user=request.user, data=request.POST) if form.is_valid(): form.save() update_session_auth_hash(request, form.user) return HttpResponseRedirect(post_change