diff --git a/src/postorius/models.py b/src/postorius/models.py index 59d8a0d..043c2bc 100644 --- a/src/postorius/models.py +++ b/src/postorius/models.py @@ -310,9 +310,8 @@ # Create a template context (if there is none) containing # the activation_link and the host_url. if not template_context: - template_context = Context( - {'activation_link': activation_link, - 'host_url': request.build_absolute_uri("/")}) + template_context = {'activation_link': activation_link, + 'host_url': request.build_absolute_uri("/")} email_subject = getattr( settings, 'EMAIL_CONFIRMATION_SUBJECT', u'Confirmation needed') try: