How can I use min_value and max_value in a view?
E.g. the Form is defined as:
class SomeForm(ModelForm):
somefield = forms.IntegerField(min_value=1, max_value=10)
And in my view I want to do something like (pseudocode):
min_value = somefield.min_value
You can do this in your view: