diff --git a/dav_base/emails.py b/dav_base/emails.py index a92d848..5e498d6 100644 --- a/dav_base/emails.py +++ b/dav_base/emails.py @@ -14,13 +14,11 @@ class AbstractMail(object): _template_name = None def _get_sender(self): - #app_config = apps.get_containing_app_config(__package__) return app_config.settings.email_sender def _get_subject(self, subject_fmt=None, **kwargs): if subject_fmt is None: subject_fmt = self._subject - #app_config = apps.get_containing_app_config(__package__) if app_config.settings.email_subject_prefix: subject_fmt = u'%s %s' % (app_config.settings.email_subject_prefix, subject_fmt) subject = subject_fmt.format(**kwargs) @@ -32,7 +30,6 @@ class AbstractMail(object): return get_template(self._template_name, using='PLAINTEXT') def _get_context_data(self, extra_context=None): - #app_config = apps.get_containing_app_config(__package__) context = { 'base_url': app_config.settings.email_base_url, }