Skip to main content

PasswordResetDoneView

This class provides a view that displays a confirmation message to the user after a password reset email has been sent. It utilizes a mixin for password-related context and renders a specific template to inform the user about the next steps in the reset process.

Attributes

AttributeTypeDescription
template_namestring = registration/password_reset_done.htmlThe full path to the template used to render the password reset confirmation page.
titlestring = Password reset sentThe localized title string displayed in the browser tab or page header indicating the reset email has been sent.

Constructor

Signature

def PasswordResetDoneView() - > null

Methods


dispatch()

def dispatch(
request: [HttpRequest](../../../http/request/httprequest.md?sid=django_http_request_httprequest),
args: list,
kwargs: dict
) - > [HttpResponse](../../../http/response/httpresponse.md?sid=django_http_response_httpresponse)

Handles the initial request and returns the rendered template response.

Parameters

NameTypeDescription
request[HttpRequest](../../../http/request/httprequest.md?sid=django_http_request_httprequest)The incoming HTTP request object.
argslistPositional arguments passed to the view.
kwargsdictKeyword arguments passed to the view.

Returns

TypeDescription
[HttpResponse](../../../http/response/httpresponse.md?sid=django_http_response_httpresponse)The rendered HTML response for the password reset confirmation page.