PasswordChangeView, what is the default behavior of the view?Django's PasswordChangeView redirects the user to a success URL after the password is changed. It does not log out the user or send an email by default.
PasswordResetConfirmView in your urls.py. Which option is correct?Django class-based views must be called with .as_view() to return a callable view function. The URL parameters must match the expected names: uidb64 and token.
PasswordResetConfirmView, what happens to their session state?Django does not log the user in automatically after password reset confirmation. The user must log in manually with the new password.
PasswordResetView but no email is sent. The code is:auth_views.PasswordResetView.as_view(email_template_name='registration/password_reset_email.html')
What is the most likely cause?
If EMAIL_BACKEND is not set to a real email backend, Django won't send emails. The console backend only prints emails to the console.
Django generates a token that encodes user info and timestamp. It becomes invalid after password changes or after a timeout (default 3 days).
