A view mixin which verifies that the user has not authenticated.
Note
This should be the left-most mixin of a view.
Bases: django.views.generic.base.TemplateView
A view to redirect to after a successfull change of a user’s password.
The template used by this view. Defaults to the same template used by django.contrib.views.password_change_done().
Bases: django.views.generic.edit.FormView
A view that allows logged in users to change their password.
The form used by this view.
CharField (Required)
Parameters: |
|
---|
PasswordPoliciesField (Required)
Parameters: |
|
---|
CharField (Required)
Parameters: |
|
---|
alias of PasswordPoliciesChangeForm
An URL to redirect to after the form has been successfully validated.
The template used by this view. Defaults to the same template used by django.contrib.views.password_change().
doc
Returns a query string field with a previous URL if available (Mimicing the login view. Used on forced password changes, to know which URL the user was requesting before the password change.) If not returns the success_url attribute if set, otherwise the URL to the PasswordChangeDoneView.
Bases: password_policies.views.LoggedOutMixin, django.views.generic.base.TemplateView
A view to redirect to after a password reset has been successfully confirmed.
The template used by this view. Defaults to the same template used by django.contrib.views.password_reset_complete().
Adds the login URL to redirect to (defaults to the LOGIN_URL setting in Django) to the view’s context.
Bases: password_policies.views.LoggedOutMixin, django.views.generic.edit.FormView
The form used by this view.
PasswordPoliciesField (Required)
Parameters: |
|
---|
CharField (Required)
Parameters: |
|
---|
alias of PasswordPoliciesForm
An URL to redirect to after the form has been successfully validated.
The template used by this view. Defaults to the same template used by django.contrib.views.password_reset_confirm().
Redirects to success_url if set, otherwise to the PasswordResetCompleteView.
Bases: password_policies.views.LoggedOutMixin, django.views.generic.base.TemplateView
A view to redirect to after a password reset has been requested.
The template used by this view. Defaults to the same template used by django.contrib.views.password_reset_done().
Bases: password_policies.views.LoggedOutMixin, django.views.generic.edit.FormView
A view that allows registered users to change their password.
A relative path to a template in the root of a template directory to generate the body of the mail.
A relative path to a template in the root of a template directory to generate the HTML attachment of the mail.
The form used by this view.
EmailField (Required)
Parameters: |
|
---|
alias of PasswordResetForm
The email address to use as sender of the email.
Determines wether this view is used by an admin site. Overrides domain and site name if set to True.
A relative path to a template in the root of a template directory to generate the subject of the mail.
An URL to redirect to after the form has been successfully validated.
The template used by this view. Defaults to the same template used by django.contrib.views.password_reset().
Redirects to success_url if set, otherwise to the PasswordResetDoneView.