Do not copy notes when cloning session
This commit is contained in:
parent
2d8eb32e90
commit
d1f970b8bb
|
@ -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 = None
|
||||
session.save()
|
||||
if request.htmx:
|
||||
context = {"session": session}
|
||||
|
|
Loading…
Reference in New Issue