From 56edcf086a2020cc6ad934d472b9edde1f7650a5 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sun, 5 Feb 2017 16:28:07 +0100 Subject: Correction de *toutes* les urls --- views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views.py b/views.py index add5dd7..473b319 100644 --- a/views.py +++ b/views.py @@ -80,7 +80,7 @@ def confirm_subscription(request, token): year, week = get_current_or_next_week() - return redirect("timetable", group_slug=subscription.group.slug, year=year, week=week) + return redirect("timetable", timetable_slug=subscription.group.timetable.slug, group_slug=subscription.group.slug, year=year, week=week) def cancel_subscription(request, token): subscription = get_object_or_404(Subscription, token=token) -- cgit v1.2.1