This commit is contained in:
Trey t
2023-07-26 17:21:24 -05:00
parent 9d9d6200dc
commit 6d68c59ac3
2 changed files with 4 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ class Workout(models.Model):
estimated_time = models.FloatField(max_length=255, blank=True, null=True)
def __str__(self):
return self.name #+ " : " + self.description + " | by: " + self.registered_user.nick_name
return self.name + " : " + self.description + " | by: " + str(self.created_at)
class WorkoutExercise(models.Model):
created_at = models.DateTimeField(auto_now_add=True)