From 88c18f5c2d8ca075fb559e74f6b5c8ac9c28611d Mon Sep 17 00:00:00 2001 From: Dominik George <nik@naturalnet.de> Date: Thu, 5 Sep 2019 21:38:00 +0200 Subject: [PATCH] Fix redirect after substitution deletion. --- biscuit/apps/chronos/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biscuit/apps/chronos/views.py b/biscuit/apps/chronos/views.py index 3611edff..e7c3eabf 100644 --- a/biscuit/apps/chronos/views.py +++ b/biscuit/apps/chronos/views.py @@ -168,4 +168,4 @@ def delete_substitution(request: HttpRequest, id_: int, week: int) -> HttpRespon week=week, lesson_period__id=id_ ).delete() - return redirect('edit_substitution', week, id_) + return redirect('edit_substitution', id_, week) -- GitLab