aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2017-02-05 16:12:16 +0100
committerAlban Gruin2017-02-05 16:12:16 +0100
commit64a3d49a62b6d0383cfbba5b7a9f84de42038768 (patch)
tree0fe05dfe617eefb81ba6a56994728e5757b23ad8
parent10bca4899aeb607b86480f35fc8c9db6bb7c6714 (diff)
Correction de l'URL d'inscription
-rw-r--r--views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/views.py b/views.py
index d777594..fca7e8e 100644
--- a/views.py
+++ b/views.py
@@ -65,7 +65,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", group_slug=group_slug, year=year, week=int(week))
+ return redirect("timetable", timetable_slug=itmetable_slug, group_slug=group_slug, year=year, week=int(week))
else:
form = SubscribeForm()