1
0
mirror of https://github.com/django/django.git synced 2025-02-03 06:09:47 +00:00
Tai Lee 1280675834 Fixed #15511 -- Allow optional fields on `MultiValueField subclasses.
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.
2013-08-06 08:50:47 -04:00
..
2013-07-29 06:57:33 -04:00