Zruseni printu
This commit is contained in:
parent
8a2f51a9b6
commit
4ffa30e096
1 changed files with 0 additions and 2 deletions
|
@ -634,11 +634,9 @@ 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue