From c7ce943fc0e9aa8d3ac89dd67c6f872c7d8efaa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Mon, 22 May 2023 23:10:38 +0200 Subject: [PATCH] =?UTF-8?q?Vlo=C5=BEit=20=C5=99e=C5=A1en=C3=AD:=20v=C3=ADc?= =?UTF-8?q?e=20=C5=99e=C5=A1itel=C5=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odevzdavatko/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odevzdavatko/forms.py b/odevzdavatko/forms.py index 223d807f..a2056cae 100644 --- a/odevzdavatko/forms.py +++ b/odevzdavatko/forms.py @@ -30,7 +30,7 @@ class PosliReseniForm(forms.Form): # FIXME pridat vice resitelu resitel = forms.ModelChoiceField(label="Řešitel", queryset=Resitel.objects.all(), - widget=autocomplete.ModelSelect2( + widget=autocomplete.ModelSelect2Multiple( url='autocomplete_resitel', attrs = {'data-placeholder--id': '-1', 'data-placeholder--text' : '---',