cannot pickle list of teams ->
This commit is contained in:
@@ -416,19 +416,6 @@ def handle_sendemail_invite_accept(email,name,teamname,managername):
|
||||
return 1
|
||||
|
||||
|
||||
@app.task
|
||||
def handle_remove_workouts_team(ws,t):
|
||||
for w in ws:
|
||||
w.team.remove(t)
|
||||
|
||||
return 1
|
||||
|
||||
@app.task
|
||||
def handle_add_workouts_team(ws,t):
|
||||
for w in ws:
|
||||
w.team.add(t)
|
||||
|
||||
return 1
|
||||
|
||||
# Another simple task for debugging purposes
|
||||
def add2(x,y):
|
||||
|
||||
Reference in New Issue
Block a user