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