def password_reset(request, **kwargs):
    """Substitute with the mail_factory PasswordResetForm."""
    if 'password_reset_form' not in kwargs:
        kwargs['password_reset_form'] = PasswordResetForm
    if 'email_template_name' not in kwargs:
        kwargs['email_template_name'] = None

    return django_password_reset(request, **kwargs)
dataset/ETHPy150Open novafloss/django-mail-factory/mail_factory/contrib/auth/views.py/password_reset/original