MCPcopy
hub / github.com/django/django / formfield

Method formfield

django/contrib/postgres/fields/ranges.py:161–163  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

159 return super().get_prep_value(value)
160
161 def formfield(self, **kwargs):
162 kwargs.setdefault("default_bounds", self.default_bounds)
163 return super().formfield(**kwargs)
164
165 def deconstruct(self):
166 name, path, args, kwargs = super().deconstruct()

Callers

nothing calls this directly

Calls 2

setdefaultMethod · 0.45
formfieldMethod · 0.45

Tested by

no test coverage detected