From 854e3cc54a2d2dc18af92f5f996402bb51c551c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sun, 14 Jan 2024 13:05:02 +0100 Subject: [PATCH] Do not copy notes when cloning session --- games/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/games/views.py b/games/views.py index 5604c20..3ec5bf6 100644 --- a/games/views.py +++ b/games/views.py @@ -260,6 +260,7 @@ def start_session_same_as_last(request, last_session_id: int): # set new data session.timestamp_start = timezone.now() session.timestamp_end = None + session.note = "" session.save() if request.htmx: context = {"session": session}