How to disable autoescape when using django template from_string() and render()?

后端 未结 0 668
温柔的废话
温柔的废话 2020-11-28 23:56

I am sending an email using django-post_office, which renders the subject line using django templates:

subject = engine.from_string(self.template.html_content         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题