Separated email subject for translation
This commit is contained in:
parent
b27342b493
commit
c50b2455c2
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class CustomUser(AbstractBaseUser, PermissionsMixin):
|
||||||
dcl_from_address = settings.DCL_SUPPORT_FROM_ADDRESS
|
dcl_from_address = settings.DCL_SUPPORT_FROM_ADDRESS
|
||||||
user.is_active = False
|
user.is_active = False
|
||||||
email_data = {
|
email_data = {
|
||||||
'subject': _('Activate your ' + dcl_text + ' account'),
|
'subject': _('Activate your ') + dcl_text + _(' account'),
|
||||||
'from_address': settings.DCL_SUPPORT_FROM_ADDRESS,
|
'from_address': settings.DCL_SUPPORT_FROM_ADDRESS,
|
||||||
'to': user.email,
|
'to': user.email,
|
||||||
'context': {'base_url' : base_url,
|
'context': {'base_url' : base_url,
|
||||||
|
|
Loading…
Reference in a new issue