Private
Public Access
1
0

user admin race submission works

This commit is contained in:
Sander Roosendaal
2019-01-24 21:23:20 +01:00
parent 2ec4419597
commit 743c759744
6 changed files with 687 additions and 3 deletions

View File

@@ -940,7 +940,7 @@ def email_submit_race(r,race,workoutid):
result = add_rower_race(r,race)
otherrecords = IndoorVirtualRaceResult.objects.filter(
race = race).exclude(userid = r.id)
race = race)
for otherrecord in otherrecords:
@@ -978,7 +978,7 @@ def email_submit_race(r,race,workoutid):
if result:
otherrecords = IndoorVirtualRaceResult.objects.filter(
race = race).exclude(userid = r.id)
race = race)
for otherrecord in otherrecords:
otheruser = Rower.objects.get(id=otherrecord.userid)