WIP
This commit is contained in:
@@ -26,7 +26,7 @@ class Exercise(models.Model):
|
||||
ordering = ('name',)
|
||||
|
||||
def __str__(self):
|
||||
return self.name + ":" + self.description
|
||||
return self.name + " --------- " + self.description
|
||||
|
||||
def video_url(self):
|
||||
return "exercise_videos/" + self.name.replace(" ", "_") + ".mp4"
|
||||
|
||||
Reference in New Issue
Block a user