Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2020-05-15 17:13:07 +02:00
parent 9e3b12df57
commit e485f060e7
6 changed files with 59 additions and 3 deletions

View File

@@ -481,6 +481,12 @@ def join_workouts(r,ids,title='Joined Workout',
for w in ws:
w.delete()
w = Workout.objects.get(id=id)
w.duplicate = False
w.save()
if "duplicate" in message:
message = ""
return (id, message)