Repository navigation
Minor feature request: serializers.FloatField should have an exclusive minimum and maximum #7800
Unanswered
foufaster
asked this question in
Ideas & Suggestions
Replies: 1 comment
|
Can't this be handled with validators? https://www.django-rest-framework.org/api-guide/validators/ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Since the attributes min_value and max_value FloatField define close bounds , I propose to add two boolean attributes (exclusive_min and exclusive_max) to FloatField to define open bounds.
Example:
All reactions