Branch: refs/heads/master Home: https://github.com/django/django Commit: 12806758347dfd63a3cd1bfc0d925c09fdbd9cff https://github.com/django/django/commit/12806758347dfd63a3cd1bfc0d925c09fdbd9cff Author: Tai Lee <tai....@3030.com.au> Date: 2013-08-06 (Tue, 06 Aug 2013)
Changed paths: M django/forms/fields.py M docs/ref/forms/fields.txt M docs/releases/1.7.txt M tests/forms_tests/tests/test_forms.py Log Message: ----------- 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. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/5200f1d5a075b_77f195fd589003a%40hookshot-fe3-pe1-prd.aws.github.net.mail. For more options, visit https://groups.google.com/groups/opt_out.