|
|
@ -1,5 +1,6 @@ |
|
|
|
import abc |
|
|
|
from functools import cached_property |
|
|
|
from typing import Union # TODO: s pythonem 3.10 přepsat na '|' |
|
|
|
|
|
|
|
import seminar.models as m |
|
|
|
from django.db.models import Q, Sum |
|
|
@ -17,7 +18,7 @@ class FixedIterator: |
|
|
|
|
|
|
|
|
|
|
|
def body_resitelu( |
|
|
|
za=None, |
|
|
|
za: Union[m.Cislo, m.Rocnik, None] = None, |
|
|
|
do: m.Deadline = None, |
|
|
|
od: m.Deadline = None, |
|
|
|
jen_verejne: bool = True, |
|
|
@ -489,4 +490,4 @@ class VysledkovkaDoTeXu(VysledkovkaCisla): |
|
|
|
deadline_body__deadline__gt=self.od_deadlinu.deadline, |
|
|
|
deadline_body__deadline__lte=self.do_deadlinu.deadline, |
|
|
|
body__isnull=False, |
|
|
|
) |
|
|
|
) |
|
|
|