FIX: error message in exception.

This commit is contained in:
2019-03-28 10:29:56 +01:00
parent 303560bb63
commit 97a4f8bd70

View File

@@ -26,7 +26,7 @@ class AbstractMail(object):
def _get_template(self):
if not self._template_name:
raise ImproperlyConfigured('%s._template_name ist not set.', self.__class__.__name__)
raise ImproperlyConfigured('%s._template_name ist not set.' % self.__class__.__name__)
return get_template(self._template_name, using='PLAINTEXT')
def _get_context_data(self, extra_context=None):