initial implementation.
To Do: Add unsubscribe/subscribe functionality for participants
This commit is contained in:
@@ -2422,6 +2422,8 @@ class VirtualRaceResult(models.Model):
|
||||
verbose_name='Gender')
|
||||
|
||||
age = models.IntegerField(null=True)
|
||||
emailnotifications = models.BooleanField(default=True,
|
||||
verbose_name = 'Receive race notifications by email')
|
||||
|
||||
def __unicode__(self):
|
||||
rr = Rower.objects.get(id=self.userid)
|
||||
@@ -2472,6 +2474,8 @@ class IndoorVirtualRaceResult(models.Model):
|
||||
verbose_name='Gender')
|
||||
|
||||
age = models.IntegerField(null=True)
|
||||
emailnotifications = models.BooleanField(default=True,
|
||||
verbose_name = 'Receive race notifications by email')
|
||||
|
||||
def __unicode__(self):
|
||||
rr = Rower.objects.get(id=self.userid)
|
||||
|
||||
Reference in New Issue
Block a user