Jasně, špatné pořadí

This commit is contained in:
Jonas Havelka 2022-10-09 10:23:44 +02:00
parent fb959da242
commit 7d2d54d86e

View file

@ -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()),