aboutsummaryrefslogtreecommitdiff
path: root/views.py
diff options
context:
space:
mode:
authorAlban Gruin2017-02-05 16:28:07 +0100
committerAlban Gruin2017-02-05 16:28:07 +0100
commit56edcf086a2020cc6ad934d472b9edde1f7650a5 (patch)
tree5936f309c909d00bc228231adc4434b52d6119c0 /views.py
parent1d42eed9fb6c1cc5fc7b77486277a88d7fc6cb01 (diff)
Correction de *toutes* les urlsv0.4.0stable/0.4.z
Diffstat (limited to 'views.py')
-rw-r--r--views.py2
1 files changed, 1 insertions, 1 deletions
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)