first form done (workout form)
This commit is contained in:
@@ -3443,6 +3443,7 @@ class PlannedSessionFormSmall(ModelForm):
|
||||
|
||||
|
||||
boattypes = mytypes.boattypes
|
||||
ergtypes = mytypes.ergtypes
|
||||
|
||||
# Workout
|
||||
rpechoices = (
|
||||
@@ -3481,9 +3482,9 @@ class Workout(models.Model):
|
||||
verbose_name='Exercise/Boat Class')
|
||||
workoutsource = models.CharField(max_length=100,
|
||||
default='unknown')
|
||||
boattype = models.CharField(choices=boattypes, max_length=50,
|
||||
boattype = models.CharField(choices=boattypes+ergtypes, max_length=50,
|
||||
default='1x',
|
||||
verbose_name='Boat Type')
|
||||
verbose_name='Boat/Rower Type')
|
||||
boatbrand = models.CharField(choices=boatbrands, max_length=50,
|
||||
default='', verbose_name='Boat Brand')
|
||||
adaptiveclass = models.CharField(choices=adaptivetypes, max_length=50,
|
||||
|
||||
Reference in New Issue
Block a user