Private
Public Access
1
0

moved workout creation to dataprep for workout_upload

This commit is contained in:
Sander Roosendaal
2017-02-11 15:03:28 +01:00
parent 97b6212161
commit f287f9af21
4 changed files with 168 additions and 296 deletions

View File

@@ -31,6 +31,8 @@ from rowers.tasks import (
inviteduration = 14 # days
def update_team(t,name,manager,private,notes):
if t.manager != manager:
return (0,'You are not the manager of this team')
try:
t.name = name
t.manager = manager