From 5543e368d28d148dd5f6e13616e22d0a0b3508d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Koci=C3=A1n?= Date: Tue, 8 Sep 2015 12:02:03 +0200 Subject: [PATCH] =?UTF-8?q?Drobn=C3=A1=20oprava=20tituln=C3=AD=20strany?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/templates/seminar/novinky.html | 8 ++------ seminar/templates/seminar/titulnistrana.html | 5 ++--- seminar/views.py | 10 ++-------- 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/seminar/templates/seminar/novinky.html b/seminar/templates/seminar/novinky.html index 88336670..ad7207f7 100644 --- a/seminar/templates/seminar/novinky.html +++ b/seminar/templates/seminar/novinky.html @@ -1,13 +1,9 @@ -{% extends 'titulnistrana.html'} - {% block body %} - {% for novinka in novinky %} - {% if novinka.datum > pred_2_mesici and novinka.zverejneno %} + {% for novinka in object_list %}

Tady bude novinka. {{ novinka.text }}

-