Browse Source

Jasně, špatné pořadí

pull/3/head
Jonas Havelka 2 years ago
parent
commit
7d2d54d86e
  1. 2
      odevzdavatko/forms.py

2
odevzdavatko/forms.py

@ -158,7 +158,7 @@ class OdevzdavatkoTabulkaFiltrForm(forms.Form):
for deadline in m.Deadline.objects.filter( for deadline in m.Deadline.objects.filter(
deadline__lte=timezone.now(), deadline__lte=timezone.now(),
cislo__rocnik=aktualni_rocnik cislo__rocnik=aktualni_rocnik
).order_by("deadline").reverse(): ).order_by("deadline"):
result.append(( result.append((
strftime(DATE_FORMAT, deadline.deadline.timetuple()), strftime(DATE_FORMAT, deadline.deadline.timetuple()),

Loading…
Cancel
Save