From 94c219a65e6253484af22fab1941e280d69f51df Mon Sep 17 00:00:00 2001 From: MaM Web user Date: Thu, 2 Sep 2021 19:41:22 +0200 Subject: [PATCH] Debug --- seminar/views/views_all.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index 004995aa..f07aba72 100644 --- a/seminar/views/views_all.py +++ b/seminar/views/views_all.py @@ -634,9 +634,11 @@ class ArchivView(generic.ListView): # Výchozí nastavení if c.rocnik not in urls: urls[c.rocnik] = op.join(settings.STATIC_URL, "images", "no-picture.png") + print(f'BAAAA: {c.rocnik} default') # NOTE: tohle možná nastavuje poslední titulku if c.titulka_nahled: urls[c.rocnik] = c.titulka_nahled.url + print(f'BAAAA: {c.rocnik} podle {c}') context["object_list"] = urls