Fix paths for cartel
This commit is contained in:
parent
b3bec81d84
commit
bc7cfaf5e5
|
@ -171,7 +171,7 @@ class MovieQuerySet(models.QuerySet):
|
||||||
movie["count_formatted"] = self.format_count(movie["count"])
|
movie["count_formatted"] = self.format_count(movie["count"])
|
||||||
movie["stars_icons"] = self.format_stars(movie["stars"])
|
movie["stars_icons"] = self.format_stars(movie["stars"])
|
||||||
movie["file_name"] = self.fix_path(movie["file_name"])
|
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:
|
if wikipedia:
|
||||||
movie["wiki"] = self.get_wiki(movie)
|
movie["wiki"] = self.get_wiki(movie)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue