Browse Source

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

vyroci-fix
Jonas Havelka 2 years ago
parent
commit
669255461b
  1. 2
      odevzdavatko/forms.py

2
odevzdavatko/forms.py

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

Loading…
Cancel
Save