From b74ccb6eaa24c2310a9c40793413024f4cab7b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sat, 14 Sep 2024 11:10:28 +0200 Subject: [PATCH] Remove extraneous statement --- games/views/session.py | 1 - 1 file changed, 1 deletion(-) diff --git a/games/views/session.py b/games/views/session.py index 3f12724..a92646f 100644 --- a/games/views/session.py +++ b/games/views/session.py @@ -241,7 +241,6 @@ def delete_session(request: HttpRequest, session_id: int = 0) -> HttpResponse: session = get_object_or_404(Session, id=session_id) session.delete() return redirect("list_sessions") - return redirect("list_sessions") @login_required