MCPcopy Index your code
hub / github.com/encode/django-rest-framework / __init__

Method __init__

rest_framework/fields.py:777–780  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

775 }
776
777 def __init__(self, **kwargs):
778 super().__init__(**kwargs)
779 validator = EmailValidator(message=self.error_messages['invalid'])
780 self.validators.append(validator)
781
782
783class RegexField(CharField):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected