From c0cdb13130e4d1fbd29aa168cd233352a7176a1e Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 1 Aug 2020 22:30:34 +0200 Subject: [PATCH] Can't concatenate string and proxy --- apps/member/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/member/models.py b/apps/member/models.py index ffe50201..6ba4fb5f 100644 --- a/apps/member/models.py +++ b/apps/member/models.py @@ -131,7 +131,7 @@ class Profile(models.Model): return reverse('user_detail', args=(self.pk,)) def send_email_validation_link(self): - subject = "[Note Kfet]" + _("Activate your Note Kfet account") + subject = "[Note Kfet]" + str(_("Activate your Note Kfet account")) message = loader.render_to_string('registration/mails/email_validation_email.txt', { 'user': self.user,