min value for polls is -2
This commit is contained in:
parent
3d1e4f5489
commit
ae8876425a
@ -31,4 +31,5 @@ class OptionForm(forms.Form, CssClassMixin):
|
|||||||
self.fields[key] = forms.IntegerField(
|
self.fields[key] = forms.IntegerField(
|
||||||
label=value,
|
label=value,
|
||||||
initial=weight,
|
initial=weight,
|
||||||
|
min_value=-2,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user