Fixe un bug dans l'envoi de mail

This commit is contained in:
Tom Hubrecht 2021-03-25 09:31:52 +01:00
parent 3d0863fe73
commit f275b1bbed

View file

@ -189,7 +189,7 @@ def send_mail(election, mail_form):
body=mail_form.cleaned_data["message"].format( body=mail_form.cleaned_data["message"].format(
full_name=v.full_name, full_name=v.full_name,
election_url=url, election_url=url,
username=v.get_username, username=v.get_username(),
password=password, password=password,
), ),
to=[v.email], to=[v.email],