#34862: For clarity, the `password_reset_email.html` template should have `.txt`
extension
------------------------------------------+------------------------
               Reporter:  Curtis Maloney  |          Owner:  nobody
                   Type:  Bug             |         Status:  new
              Component:  contrib.auth    |        Version:  4.2
               Severity:  Normal          |       Keywords:
           Triage Stage:  Unreviewed      |      Has patch:  0
    Needs documentation:  0               |    Needs tests:  0
Patch needs improvement:  0               |  Easy pickings:  0
                  UI/UX:  0               |
------------------------------------------+------------------------
 The plain text body of a PasswordResetView email currently uses a `.html`
 extension.

 The general guide on file extensions for templates is to hint at their
 content type, and this recently confused a coworker into thinking it was
 the HTML body of the email.

 A possible transition solution would be to default to a list, since
 `render_to_string` already supports finding first match.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34862>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018aba2e821d-cc278a56-a06a-4895-abde-bba093151ae3-000000%40eu-central-1.amazonses.com.

Reply via email to