#17193: Send templated email.
-----------------------------+-------------------------------------------
     Reporter:  tomchristie  |                    Owner:  julianapplebaum
         Type:  New feature  |                   Status:  assigned
    Component:  Core (Mail)  |                  Version:
     Severity:  Normal       |               Resolution:
     Keywords:               |             Triage Stage:  Accepted
    Has patch:  1            |      Needs documentation:  0
  Needs tests:  1            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+-------------------------------------------

Comment (by tomchristie):

 It's not quite true that you can't use template inheritance with this
 style, although I've come around to thinking that it probably is a an
 abuse of the 'block' tags to change their semantics for email templates.

 I don't like the stub+'.txt', stub+'.html' for 2 reasons:

 Firstly it's very easy for the two separate files to get out of sync, with
 no easy way of noticing that's happened.
 Secondly the stub + extension style isn't used anywhere else.

 I think a better solution would be a single template and a flag to switch
 between plaintext only, or html + autogenerated plaintext.

 It's not impossible that I might get a spare couple of hours between now
 and the 1.4 checkin deadline, but it's not looking all that likely, so may
 have to defer this to 1.5.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17193#comment:11>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to