mirror of
https://github.com/django/django.git
synced 2025-11-01 20:31:40 +00:00
The `MultiValueField` class gets a new ``require_all_fields`` argument that defaults to ``True``. If set to ``False``, individual fields can be made optional, and a new ``incomplete`` validation error will be raised if any required fields have empty values. The ``incomplete`` error message can be defined on a `MultiValueField` subclass or on each individual field. Skip duplicate errors. |
||
|---|---|---|
| .. | ||
| api.txt | ||
| fields.txt | ||
| formsets.txt | ||
| index.txt | ||
| models.txt | ||
| validation.txt | ||
| widgets.txt | ||