Self hosted FLOSS fitness/workout, nutrition and weight tracker
Some renaming
Roland Geider8998ca8eeadc
diff --git a/wger/manager/models/session.py b/wger/manager/models/session.pyindex 388499509..b12f783ed 100644--- a/wger/manager/models/session.py+++ b/wger/manager/models/session.py@@ -122,7 +122,7 @@ class WorkoutSession(models.Model):"""Return a more human-readable representation"""- return f'{self.workout} - {self.date}'+ return f'{self.routine} - {self.date}'class Meta:"""diff --git a/wger/manager/models/slot_entry.py b/wger/manager/models/slot_entry.pyindex f1fff10a3..0a53d2f28 100644--- a/wger/manager/models/slot_entry.py+++ b/wger/manager/models/slot_entry.py@@ -36,7 +36,7 @@ from wger.manager.models.abstract_config import ()-class SetType(models.TextChoices):+class ExerciseType(models.TextChoices):NORMAL = 'normal'DROPSET = 'dropset'MYO = 'myo'@@ -47,11 +47,6 @@ class SetType(models.TextChoices):JUMP = 'jump'-#-# TODO: rename to SlowEntry!-#--class SlotEntry(models.Model):"""Set configuration for an exercise (weight, reps, etc.)@@ -119,9 +114,9 @@ class SlotEntry(models.Model):)type = models.CharField(- choices=SetType.choices,+ choices=ExerciseType.choices,max_length=10,- default=SetType.NORMAL,+ default=ExerciseType.NORMAL,null=False,)