Exemplo n.º 1
0
 def html_body(self):
     try:
         return inline_css(
             render_to_string(self.html_template, self.context))
     except Exception:
         traceback.print_exc()
         raise
Exemplo n.º 2
0
 def html_body(self):
     try:
         return inline_css(render_to_string(self.email.get_html_template(), self.get_context()))
     except Exception:
         import traceback
         traceback.print_exc()
         raise
 def html_body(self):
     try:
         return inline_css(render_to_string(self.email.get_html_template(), self.get_context()))
     except Exception:
         import traceback
         traceback.print_exc()
         raise
Exemplo n.º 4
0
 def html_body(self):
     try:
         return inline_css(render_to_string(self.html_template, self.context))
     except Exception:
         traceback.print_exc()
         raise
Exemplo n.º 5
0
 def html_body(self):
     return inline_css(render_to_string(self.html_template, self.context))