mirror of
https://github.com/Hopiu/django.git
synced 2026-03-21 16:30: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. |
||
|---|---|---|
| .. | ||
| filepath_test_files | ||
| __init__.py | ||
| test_error_messages.py | ||
| test_extra.py | ||
| test_fields.py | ||
| test_forms.py | ||
| test_formsets.py | ||
| test_input_formats.py | ||
| test_media.py | ||
| test_regressions.py | ||
| test_util.py | ||
| test_validators.py | ||
| test_widgets.py | ||
| tests.py | ||