FIX: error message in exception.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user