Skip to content

Commit

Permalink
Merge branch 'master' of github.com:alexlovelltroy/django-classy-mail
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Lovell-Troy committed Aug 2, 2013
2 parents 305fcd8 + 0d1280a commit 2e01919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classy_mail/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def get_html_template(self):
class ModelTemplateMixin(BaseTemplateMixin):
_template = None

def _get_template(self, template_name):
def _get_template(self):
if self._template is None:
self._template = EmailTemplate.objects.get(name=self.get_template_name())
return self._template
Expand Down

0 comments on commit 2e01919

Please # to comment.