Private
Public Access
1
0

improved manual entry form

This commit is contained in:
Sander Roosendaal
2018-11-09 12:10:56 +01:00
parent a562fc3f64
commit a376c079c7
5 changed files with 71 additions and 22 deletions

View File

@@ -2067,7 +2067,7 @@ class Workout(models.Model):
user = models.ForeignKey(Rower)
team = models.ManyToManyField(Team,blank=True)
plannedsession = models.ForeignKey(PlannedSession, blank=True,null=True)
name = models.CharField(max_length=150)
name = models.CharField(max_length=150,blank=True,null=True)
date = models.DateField()
workouttype = models.CharField(choices=workouttypes,max_length=50,
verbose_name='Exercise/Boat Class')