Fixed __proxy__ to string conversion issue
This commit is contained in:
parent
82ebafa5f5
commit
165dfa49ab
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': str(_('Activate your ')) + dcl_text + str(_(' 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