Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/django-haystack/django-haystack
/ convert
Method
convert
haystack/fields.py:238–242 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
236
return
self.convert(super().prepare(obj))
237
238
def
convert(self, value):
239
if
value is None:
240
return
None
241
242
return
str(value)
243
244
245
class
LocationField(SearchField):
Callers
4
prepare
Method · 0.95
_process_results
Method · 0.45
_process_results
Method · 0.45
_process_results
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected