The Modern And Developer Centric Python Web Framework. Be sure to read the documentation and join the Discord channel for questions: https://discord.gg/TwKeFahmPZ
It is nice that mailables can build the html content of the email usingview() but you cannot use a view (template) for text.
What do we currently have to do now?
No response
Describe the solution you'd like
It would be nice to add either a text_view() method or add a parameter to view() to indicate whether it is for html or text content. For the latter, adding is_html=True would make this a non-breaking change.
Is your feature request related to a problem?
It is nice that mailables can build the html content of the email using
view()
but you cannot use a view (template) for text.What do we currently have to do now?
No response
Describe the solution you'd like
It would be nice to add either a
text_view()
method or add a parameter toview()
to indicate whether it is for html or text content. For the latter, addingis_html=True
would make this a non-breaking change.Describe alternatives you've considered
No response
Would this be a breaking change ?
Anything else ?
No response