MCPcopy
hub / github.com/django/django / __init__

Method __init__

django/forms/fields.py:1034–1041  ·  view source on GitHub ↗
(self, fields, **kwargs)

Source from the content-addressed store, hash-verified

1032 """
1033
1034 def __init__(self, fields, **kwargs):
1035 super().__init__(**kwargs)
1036 # Set 'required' to False on the individual fields, because the
1037 # required validation will be handled by ComboField, not by those
1038 # individual fields.
1039 for f in fields:
1040 f.required = False
1041 self.fields = fields
1042
1043 def clean(self, value):
1044 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected