mirror of
https://github.com/encode/django-rest-framework.git
synced 2026-01-10 18:50:56 +03:00
Update docs/api-guide/fields.md
This commit is contained in:
parent
c4a80c6ce9
commit
405e99fd82
|
|
@ -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)`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user