Browse Source

s/FormFiltr/FiltrForm

middleware_test
Pavel "LEdoian" Turinsky 4 years ago
parent
commit
75742b7264
  1. 8
      seminar/views/odevzdavatko.py

8
seminar/views/odevzdavatko.py

@ -57,10 +57,10 @@ class TabulkaOdevzdanychReseniView(ListView):
reseni_od = fcd["reseni_od"]
reseni_do = fcd["reseni_do"]
else:
resitele = FiltrForm.get_initial_for_field(FormFiltr.resitele, "resitele")
problemy = FiltrForm.get_initial_for_field(FormFiltr.problemy, "problemy")
resitele_od = FiltrForm.get_initial_for_field(FormFiltr.resitele_od, "resitele_od")
resitele_do = FiltrForm.get_initial_for_field(FormFiltr.resitele_do, "resitele_do")
resitele = FiltrForm.get_initial_for_field(FiltrForm.resitele, "resitele")
problemy = FiltrForm.get_initial_for_field(FiltrForm.problemy, "problemy")
resitele_od = FiltrForm.get_initial_for_field(FiltrForm.resitele_od, "resitele_od")
resitele_do = FiltrForm.get_initial_for_field(FiltrForm.resitele_do, "resitele_do")
# Filtrujeme!

Loading…
Cancel
Save