From c50b2455c2a5bb162eb45376fbd905c5b221c0dc Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Tue, 20 Jun 2017 23:45:25 +0530 Subject: [PATCH] Separated email subject for translation --- membership/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/membership/models.py b/membership/models.py index 2c8c0ad2..115e8cb1 100644 --- a/membership/models.py +++ b/membership/models.py @@ -87,7 +87,7 @@ class CustomUser(AbstractBaseUser, PermissionsMixin): dcl_from_address = settings.DCL_SUPPORT_FROM_ADDRESS user.is_active = False email_data = { - 'subject': _('Activate your ' + dcl_text + ' account'), + 'subject': _('Activate your ') + dcl_text + _(' account'), 'from_address': settings.DCL_SUPPORT_FROM_ADDRESS, 'to': user.email, 'context': {'base_url' : base_url,