From bc7cfaf5e59593a96f26e9a93ab1faa4261e512f Mon Sep 17 00:00:00 2001 From: el Mau Date: Sun, 12 Feb 2023 23:25:01 -0600 Subject: [PATCH] Fix paths for cartel --- source/main/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main/models.py b/source/main/models.py index e901c7e..9524ac1 100644 --- a/source/main/models.py +++ b/source/main/models.py @@ -171,7 +171,7 @@ class MovieQuerySet(models.QuerySet): movie["count_formatted"] = self.format_count(movie["count"]) movie["stars_icons"] = self.format_stars(movie["stars"]) movie["file_name"] = self.fix_path(movie["file_name"]) - movie["cartel"] = f"{settings.MEDIA_ROOT}{movie['cartel']}" + movie["cartel"] = f"{settings.MEDIA_URL}{movie['cartel']}" if wikipedia: movie["wiki"] = self.get_wiki(movie)