mirror of
https://github.com/django/django.git
synced 2024-12-24 10:05:46 +00:00
1280675834
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 |