Smazani stareho view k úvodnímu odpočtu

This commit is contained in:
Pavel "LEdoian" Turinsky 2020-10-14 02:14:28 +02:00
parent 3de739df5e
commit 53e77820c2

View file

@ -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 = []