Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/django-haystack/django-haystack
/ prepare
Method
prepare
haystack/fields.py:386–387 ·
view source on GitHub ↗
(self, obj)
Source
from the content-addressed store, hash-verified
384
super().__init__(**kwargs)
385
386
def
prepare(self, obj):
387
return
self.convert(super().prepare(obj))
388
389
def
convert(self, value):
390
if
value is None:
Callers
2
test_prepare
Method · 0.95
test_prepare_from_string
Method · 0.95
Calls
2
convert
Method · 0.95
prepare
Method · 0.45
Tested by
2
test_prepare
Method · 0.76
test_prepare_from_string
Method · 0.76