Jasně, špatné pořadí
This commit is contained in:
parent
fb959da242
commit
7d2d54d86e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue