Improved text email formatting & updated patch to post_office v3.0.3#668
Improved text email formatting & updated patch to post_office v3.0.3#668racitup wants to merge 2 commits into
Conversation
|
With which version of Django did you test this? Is there any blueprint on how to convert HTML to plain text, suitable for emails. With that I mean formatting long lines, creating tables, etc. |
|
I've used it on python 3.5 and 2.7 and Django 1.10.7. There is a test here. Would I put that into example/tests? I haven't found any more useful information of converting html to text other than that function, which I enhanced from a stackoverflow post. All I can say is it's an improvement over |
I had to change the patch method as the current method of replacing the manager didn't work for me.