mirror of https://gitlab.crans.org/bde/nk20
Can't concatenate string and proxy
This commit is contained in:
parent
8434841ec5
commit
c0cdb13130
|
@ -131,7 +131,7 @@ class Profile(models.Model):
|
||||||
return reverse('user_detail', args=(self.pk,))
|
return reverse('user_detail', args=(self.pk,))
|
||||||
|
|
||||||
def send_email_validation_link(self):
|
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',
|
message = loader.render_to_string('registration/mails/email_validation_email.txt',
|
||||||
{
|
{
|
||||||
'user': self.user,
|
'user': self.user,
|
||||||
|
|
Loading…
Reference in New Issue