PasswordChangeDoneView
This class provides a view that displays a success message after a user has successfully changed their password. It utilizes a mixin to provide password-related context and renders a specific template to confirm the completion of the password change process.
Attributes
| Attribute | Type | Description |
|---|---|---|
| template_name | string = registration/password_change_done.html | The full path to the template used to render the password change success confirmation page. |
| title | string = Password change successful | The localized title string displayed on the success page indicating that the password change was successful. |
Constructor
Signature
def PasswordChangeDoneView() - > null
Methods
dispatch()
def dispatch(
request: [HttpRequest](../../../http/request/httprequest.md?sid=django_http_request_httprequest),
args: any,
kwargs: any
) - > [HttpResponse](../../../http/response/httpresponse.md?sid=django_http_response_httpresponse)
Dispatches the request to the appropriate handler method, ensuring the password change context is applied.
Parameters
| Name | Type | Description |
|---|---|---|
| request | [HttpRequest](../../../http/request/httprequest.md?sid=django_http_request_httprequest) | The incoming HTTP request object. |
| args | any | Positional arguments passed to the view. |
| kwargs | any | Keyword arguments passed to the view. |
Returns
| Type | Description |
|---|---|
[HttpResponse](../../../http/response/httpresponse.md?sid=django_http_response_httpresponse) | The HTTP response rendered by the template view. |