aboutsummaryrefslogtreecommitdiff
path: root/management/commands
diff options
context:
space:
mode:
Diffstat (limited to 'management/commands')
-rw-r--r--management/commands/sendmails.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/management/commands/sendmails.py b/management/commands/sendmails.py
index b700990..72921f7 100644
--- a/management/commands/sendmails.py
+++ b/management/commands/sendmails.py
@@ -34,7 +34,7 @@ class Command(BaseCommand):
content[subscription.group.id] = template.render(context)
footer = loader.get_template("mail/mail_footer.txt")
- context = Context({"admins": settings.ADMINS, "token": subscription.token})
+ context = Context({"admins": settings.ADMINS, "token": subscription.token, "domain": settings.DEFAULT_DOMAIN})
mail_content = content[subscription.group.id] + footer.render(context)
mails.append(("{0} - {1} - Semaine {2}".format(subscription.group.timetable.name, subscription.group.name, week), mail_content, settings.DEFAULT_FROM_EMAIL, [subscription.email],))