diff options
Diffstat (limited to 'views.py')
-rw-r--r-- | views.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ def subscribe(request, timetable_slug, group_slug, year, week): subscription.save() template = loader.get_template("mail/mail_confirm.txt") - context = Context({"group": group, "admins": settings.ADMINS, "token": subscription.token}) + context = Context({"group": group, "admins": settings.ADMINS, "token": subscription.token, "domain": settings.DEFAULT_DOMAIN}) send_mail("Confirmation de l'abonnemenent", template.render(context), settings.DEFAULT_FROM_EMAIL, [request.POST["email"]]) return redirect("timetable", timetable_slug=timetable_slug, group_slug=group_slug, year=year, week=int(week)) |