Browse Source

Smazani stareho view k úvodnímu odpočtu

export_seznamu_prednasek
Pavel "LEdoian" Turinsky 4 years ago
parent
commit
53e77820c2
  1. 8
      seminar/views/views_all.py

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

Loading…
Cancel
Save