1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-22 23:42:25 +00:00

Can't concatenate string and proxy

This commit is contained in:
Yohann D'ANELLO 2020-08-01 22:30:34 +02:00
parent 8434841ec5
commit c0cdb13130

View File

@ -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,