So, I'm not 100% sure if I went the direction you were pointing, but the sticking point for a bit there was that I had no idea what the name of the variable was to do a validation against. Ultimately I poked at it for a bit and came up with:
class RatingForm(forms.Form):
def clean(self):
cleaned_data = super(RatingForm, self).clean()
search = cleaned_data['score_filter']
if search[0] < 1:
raise ValidationError(_('Score must be greater than 0.'))
But I'm getting the error: 'slice' object is not subscriptable.
Local vars
__class__ <class 'catalog.filters.RatingForm'>
cleaned_data {'score_filter': slice(Decimal('0'), Decimal('11'), None)}
search slice(Decimal('0'), Decimal('11'), None)
If I can't subscript it, I'm a little puzzled about how to access the minimum/maximum values.