From 53e77820c23381eb50dc643aa86fcb6aa0793ce9 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Wed, 14 Oct 2020 02:14:28 +0200 Subject: [PATCH] =?UTF-8?q?Smazani=20stareho=20view=20k=20=C3=BAvodn=C3=AD?= =?UTF-8?q?mu=20odpo=C4=8Dtu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/views/views_all.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index e981d673..0c47946e 100644 --- a/seminar/views/views_all.py +++ b/seminar/views/views_all.py @@ -275,14 +275,6 @@ class TitulniStranaView(generic.ListView): context['nejblizsi_deadline'] = None context['typ_deadline'] = nejblizsi_deadline[1] - context['ted'] = datetime.now() - - if (nejblizsi_deadline[1] == 'soustredeni'): - context['dead'] = datetime.combine(deadline_soustredeni[0], datetime.max.time()) - context['deadline_soustredeni'] = True - else: - context['dead'] = context['nejblizsi_deadline'] - context['deadline_soustredeni'] = False # Aktuální témata nazvy_a_odkazy_na_aktualni_temata = []