From f387c46c5a513e3a6f8e23a8b33c3847a55654d6 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sun, 5 Feb 2017 16:19:07 +0100 Subject: Correction d'une faute de frappe --- views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views.py b/views.py index 9d441b8..ab420f6 100644 --- a/views.py +++ b/views.py @@ -64,7 +64,7 @@ def subscribe(request, timetable_slug, group_slug, year, week): context = Context({"group": group, "admins": settings.ADMINS, "token": subscription.token}) send_mail("Confirmation de l'abonnemenent", template.render(context), settings.DEFAULT_FROM_EMAIL, [request.POST["email"]]) - return redirect("timetable", timetable_slug=itmetable_slug, group_slug=group_slug, year=year, week=int(week)) + return redirect("timetable", timetable_slug=timetable_slug, group_slug=group_slug, year=year, week=int(week)) else: form = SubscribeForm() -- cgit v1.2.1