Private
Public Access
1
0

first implementation

This commit is contained in:
2025-01-07 20:22:50 +01:00
parent 9b1d00fb67
commit 53c5193be2
5 changed files with 102 additions and 3 deletions

View File

@@ -3740,6 +3740,8 @@ class Workout(models.Model):
rpe = models.IntegerField(default=0, blank=True, choices=rpechoices,
verbose_name='Rate of Perceived Exertion')
is_commute = models.BooleanField(default=False)
weightcategory = models.CharField(
default="hwt",
max_length=10,
@@ -4601,6 +4603,7 @@ class WorkoutForm(ModelForm):
'notes',
'rankingpiece',
'duplicate',
'is_commute',
'plannedsession']
widgets = {
'date': AdminDateWidget(),