min value for polls is -2

This commit is contained in:
Oskar Hahn 2012-06-23 12:05:09 +02:00
parent 3d1e4f5489
commit ae8876425a

View File

@ -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,
) )