virtualevent.html progressing
This commit is contained in:
@@ -481,3 +481,13 @@ def update_virtualrace(ps,cd):
|
||||
ps.save()
|
||||
|
||||
return 1,'Virtual Race Updated'
|
||||
|
||||
def race_rower_status(r,race):
|
||||
|
||||
ws = Workout.objects.filter(user=r,plannedsession=race)
|
||||
|
||||
is_complete = is_session_complete_ws(ws,race)[1]
|
||||
|
||||
has_registered = r in race.rower
|
||||
|
||||
return is_complete,has_registered
|
||||
|
||||
Reference in New Issue
Block a user