Fix defaultní obrázek v archivu
This commit is contained in:
parent
7f93171c39
commit
c6000f0ab6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue