In my model the validation is not validating for the boolean field, only one time product_field need to be checked , if two time checked raise validation error. Answer Boolean and None are not always the same. I think that is the root of your problem. Here is None vs False: I find the code and information confusing. I assume
Tag: django-validation
How to limit the maximum value of a numeric field in a Django model?
Django has various numeric fields available for use in models, e.g. DecimalField and PositiveIntegerField. Although the former can be restricted to the number of decimal places stored and the overall number of characters stored, is there any way to restrict it to storing only numbers within a certain range, e.g. 0.0-5.0 ? Failing that, is there any way to restrict