From c6000f0ab6be920c58dc2b78f749e5a7d3142ee5 Mon Sep 17 00:00:00 2001 From: Jonas Havelka Date: Thu, 2 Sep 2021 16:10:14 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20defaultn=C3=AD=20obr=C3=A1zek=20v=20archi?= =?UTF-8?q?vu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/views/views_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index 47a436cd..1041ab30 100644 --- a/seminar/views/views_all.py +++ b/seminar/views/views_all.py @@ -632,7 +632,7 @@ class ArchivView(generic.ListView): if c.titulka_nahled: urls[c.rocnik] = c.titulka_nahled.url else: - urls[c.rocnik] = op.join(settings.MEDIA_URL, "cislo", "png", "default.png") + urls[c.rocnik] = op.join(settings.STATIC_URL, "images", "no-picture.png") context["object_list"] = urls