Re: MultiValueField required=False problem

2009-09-30 Thread eka
Also found in the __init__ of MultiValueField: def __init__(self, fields=(), *args, **kwargs): super(MultiValueField, self).__init__(*args, **kwargs) # Set 'required' to False on the individual fields, because the # required validation will be handled by MultiValueField, n

Re: MultiValueField required=False problem

2009-09-30 Thread eka
Update: If I pass required=False to the field that belongs to a MultiValueFields it doesn't take that into account since only sees for the required in the MultiValueField instance. As I see in the MultiValueField.clean method forms/fields.py line 801 of django 1.1 stable if self.required and f