FIX: do not escape html entities in plain text templates.
This commit is contained in:
@@ -28,7 +28,7 @@ class AbstractMail(object):
|
||||
def _get_template(self):
|
||||
if not self._template_name:
|
||||
raise ImproperlyConfigured('%s._template_name ist not set.', self.__class__.__name__)
|
||||
return get_template(self._template_name)
|
||||
return get_template(self._template_name, using='PLAINTEXT')
|
||||
|
||||
def _get_context_data(self, extra_context=None):
|
||||
app_config = apps.get_containing_app_config(__package__)
|
||||
|
||||
Reference in New Issue
Block a user