Vložit řešení: i nezadané problémy

This commit is contained in:
Jonas Havelka 2023-05-22 23:39:04 +02:00
parent c93fa6c574
commit 669255461b

View file

@ -25,7 +25,7 @@ class PosliReseniForm(forms.Form):
queryset=m.Problem.objects.all(),
label="Problémy",
widget=autocomplete.ModelSelect2Multiple(
url='autocomplete_problem_odevzdatelny',
url='autocomplete_problem',
attrs={
'data-placeholder--id': '-1',
'data-placeholder--text': '---',