本帖最后由 jieforest 于 2012-12-23 23:53 编辑
nge their password. URL name: password_change Optional arguments: § template_name: The full name of a template to use for displaying the password change form. Defaults toregistration/password_change_form.html if not supplied. § post_change_redirect: The URL to redirect to after a successful password change. § password_change_form: A custom "change password" form which must accept a user keyword argument. The form is responsible for actually changing the user's password. Defaults to PasswordChangeForm. Template context: § form: The password change form (see password_change_form above). password_change_done(request[, template_name]) The page shown after a user has changed their password. URL name: password_change_done Optional arguments: § template_name: The full name of a template to use. Defaults to registration/password_change_done.html if not supplied. |