Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/django-haystack/django-haystack
/ prepare
Method
prepare
haystack/fields.py:310–311 ·
view source on GitHub ↗
(self, obj)
Source
from the content-addressed store, hash-verified
308
super().__init__(**kwargs)
309
310
def
prepare(self, obj):
311
return
self.convert(super().prepare(obj))
312
313
def
convert(self, value):
314
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