Update docs/api-guide/fields.md

This commit is contained in:
Bruno Alla 2025-12-24 09:42:09 +01:00 committed by GitHub
parent c4a80c6ce9
commit 405e99fd82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -417,7 +417,7 @@ Both the `allow_blank` and `allow_null` are valid options on `ChoiceField`, alth
## MultipleChoiceField
A field that can accept a set of zero, one or many values, chosen from a limited list of choices. Takes a single mandatory argument. `to_internal_value` returns a `set` containing the selected values.
A field that can accept a list of zero, one or many values, chosen from a limited set of choices. Takes a single mandatory argument. `to_internal_value` returns a `list` containing the selected values, deduplicated
**Signature:** `MultipleChoiceField(choices)`