working MPV
This commit is contained in:
@@ -3473,6 +3473,10 @@ class VirtualRaceResult(models.Model):
|
||||
|
||||
return True
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
if self.race and not self.course:
|
||||
self.course = self.race.course
|
||||
return super(VirtualRaceResult, self).save(*args, **kwargs)
|
||||
|
||||
def __str__(self):
|
||||
rr = Rower.objects.get(id=self.userid)
|
||||
|
||||
Reference in New Issue
Block a user