Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/django-haystack/django-haystack
/ convert
Method
convert
haystack/fields.py:313–317 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
311
return
self.convert(super().prepare(obj))
312
313
def
convert(self, value):
314
if
value is None:
315
return
None
316
317
return
int(value)
318
319
320
class
FloatField(SearchField):
Callers
1
prepare
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected