mirror of
https://github.com/Hopiu/django.git
synced 2026-03-18 15:00:25 +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. |
||
|---|---|---|
| .. | ||
| templates/forms_tests | ||
| tests | ||
| __init__.py | ||
| models.py | ||
| urls.py | ||
| views.py | ||