-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add allow_empty
flag to ListField.
#2250
Labels
Milestone
Comments
Reckon this is worth having. |
Adding a milestone to this to help keep it visible. |
tomchristie
changed the title
Consider an
Add Jul 16, 2015
allow_empty=False
flag to fail validation on empty lists.allow_empty
flag to ListField.
Merged
This was referenced Mar 9, 2017
This was referenced Oct 16, 2017
This was referenced Nov 6, 2017
This was referenced Nov 14, 2017
This was referenced Dec 10, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Possible that it might be useful to have an
allow_empty
flag that could be set toFalse
to disallow empty selections.Would be for
ListField
,ListSerializer
,MultipleChoiceField
andrelations
Eg see. #2804.
The text was updated successfully, but these errors were encountered: