Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/django-haystack/django-haystack
/ prepare
Method
prepare
haystack/fields.py:464–465 ·
view source on GitHub ↗
(self, obj)
Source
from the content-addressed store, hash-verified
462
self.is_multivalued = True
463
464
def
prepare(self, obj):
465
return
self.convert(super().prepare(obj))
466
467
def
convert(self, value):
468
if
value is None:
Callers
1
test_prepare
Method · 0.95
Calls
2
convert
Method · 0.95
prepare
Method · 0.45
Tested by
1
test_prepare
Method · 0.76