Trying to send custom password reset email in latest Django version

I have the same question as this stack overflow: Does Django password_reset support html email templates?

But, I could not get the solutions to work in the current Django version. The basic attempt render the html as a string. How do I get the html to render as html?

my urls.py:

 path('accounts/password-reset/', auth_views.PasswordResetView.as_view(
        template_name='password_reset.html',
        html_email_template_name='password_reset_email_template.html',
        subject_template_name='password_reset_subject.txt'
       ), name='password_reset'),

password_reset_email_template.html:

<html>
<tr>
 <td style="color:#333333; font-family: Helvetica, sans-serif;text-align:left; font-size:14px; line-height:20px; padding-bottom:18px;text-align:left;">
   {% load i18n %}
     {% autoescape off %}  You're receiving this e-mail because you requested a password reset for  account. {% endautoescape %}
 <p>Follow the link below to reset:</p>
<a  href="https://domain{% url 'password_reset_confirm' uidb64=uid token=token %}"> Reset Password </a>
</td>
</html>

I also tried to create a new view, but that does not render anything at all.

def reset(request):
    return password_reset(request, template_name='password_reset.html',
    html_email_template_name='password_reset_email_template.html',
    subject_template_name='password_reset_subject.txt',
    post_reset_redirect=reverse('login'))