Greetings. Seems like creating message from template for later rendering and applying transformers doesn't work one with another? Like I see all other message methods, for example dkim signature works lazy, so I can do something like this:
and later msg.send(to, render=context)
But transformer.save() modifies not rendered template, but template.template_text before rendering (for example this would not work properly with extending template from base).
I should not use template feature in this case, or what's the proper way to do this?
Also maybe there should be method of Message to implement, that can modify message after template rendering? Thanks for your help and ideas...
Really cool lib, by the way. Thanks
Hi!
Not sure I understand your problem.
Could you send more details?
I'd like to see what exactly is Template, and what kind of content is in template.
Greetings. Seems like creating message from template for later rendering and applying transformers doesn't work one with another? Like I see all other message methods, for example dkim signature works lazy, so I can do something like this:
and later
msg.send(to, render=context)
But transformer.save() modifies not rendered template, buttemplate.template_text
before rendering (for example this would not work properly with extending template from base). I should not use template feature in this case, or what's the proper way to do this? Also maybe there should be method of Message to implement, that can modify message after template rendering? Thanks for your help and ideas... Really cool lib, by the way. Thanks