Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/django-haystack/django-haystack
/ convert
Method
convert
haystack/fields.py:351–355 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
349
return
self.convert(super().prepare(obj))
350
351
def
convert(self, value):
352
if
value is None:
353
return
None
354
355
return
str(value)
356
357
358
class
BooleanField(SearchField):
Callers
1
prepare
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected