team expiry date added to Rower model
This commit is contained in:
@@ -175,6 +175,7 @@ class Rower(models.Model):
|
||||
choices=plans)
|
||||
|
||||
planexpires = models.DateField(default=timezone.now)
|
||||
teamplanexpires = models.DateField(default=timezone.now)
|
||||
clubsize = models.IntegerField(default=0)
|
||||
|
||||
# Friends/Team
|
||||
@@ -324,7 +325,7 @@ class Workout(models.Model):
|
||||
)
|
||||
|
||||
user = models.ForeignKey(Rower)
|
||||
team = models.ManyToManyField(Team,blank=True,null=True)
|
||||
team = models.ManyToManyField(Team,blank=True)
|
||||
name = models.CharField(max_length=150)
|
||||
date = models.DateField()
|
||||
workouttype = models.CharField(choices=workouttypes,max_length=50)
|
||||
|
||||
Reference in New Issue
Block a user