diff options
author | Alban Gruin | 2017-02-05 16:12:16 +0100 |
---|---|---|
committer | Alban Gruin | 2017-02-05 16:12:16 +0100 |
commit | 64a3d49a62b6d0383cfbba5b7a9f84de42038768 (patch) | |
tree | 0fe05dfe617eefb81ba6a56994728e5757b23ad8 /views.py | |
parent | 10bca4899aeb607b86480f35fc8c9db6bb7c6714 (diff) |
Correction de l'URL d'inscription
Diffstat (limited to 'views.py')
-rw-r--r-- | views.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |