MCPcopy
hub / github.com/django/django / get_prep_value

Method get_prep_value

django/db/models/fields/__init__.py:1576–1578  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

1574 )
1575
1576 def get_prep_value(self, value):
1577 value = super().get_prep_value(value)
1578 return self.to_python(value)
1579
1580 def get_db_prep_value(self, value, connection, prepared=False):
1581 # Casts dates into the format expected by the backend

Callers 1

get_db_prep_valueMethod · 0.95

Calls 2

to_pythonMethod · 0.95
get_prep_valueMethod · 0.45

Tested by

no test coverage detected