WIP
This commit is contained in:
+2
-1
@@ -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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user