|
@ -27,7 +27,6 @@ class PosliReseniForm(forms.Form): |
|
|
#problem = models.ManyToManyField(Problem, verbose_name='problém', help_text='Problém', |
|
|
#problem = models.ManyToManyField(Problem, verbose_name='problém', help_text='Problém', |
|
|
# through='Hodnoceni') |
|
|
# through='Hodnoceni') |
|
|
|
|
|
|
|
|
# FIXME pridat vice resitelu |
|
|
|
|
|
resitel = forms.ModelChoiceField(label="Řešitel", |
|
|
resitel = forms.ModelChoiceField(label="Řešitel", |
|
|
queryset=Resitel.objects.all(), |
|
|
queryset=Resitel.objects.all(), |
|
|
widget=autocomplete.ModelSelect2Multiple( |
|
|
widget=autocomplete.ModelSelect2Multiple( |
|
|