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

Method __init__

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

Source from the content-addressed store, hash-verified

686 NULL_VALUES = {'null', '', None}
687
688 def __init__(self, **kwargs):
689 if kwargs.get('allow_null', False):
690 self.default_empty_html = None
691 self.initial = None
692 super().__init__(**kwargs)
693
694 @staticmethod
695 def _lower_if_str(value):

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
__init__Method · 0.45

Tested by

no test coverage detected