This commit is contained in:
Trey t
2023-07-05 10:38:39 -05:00
parent 54f5c6e2d6
commit d4f5d3a015
23 changed files with 2 additions and 1 deletions

View File

@@ -34,7 +34,8 @@ class Exercise(models.Model):
def nsfw_video_url(self):
name = self.name
if name == "Recover":
name = name + "_" + str(randrange(1,6))
# total videos + 1
name = name + "_" + str(randrange(1,25))
return str(settings.MEDIA_URL) + "nsfw_exercise_videos/" + name.replace(" ", "_") + ".mp4"
def audio_url(self):

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.