Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/django-haystack/django-haystack
/ convert
Method
convert
haystack/fields.py:370–374 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
368
return
self.convert(super().prepare(obj))
369
370
def
convert(self, value):
371
if
value is None:
372
return
None
373
374
return
bool(value)
375
376
377
class
DateField(SearchField):
Callers
1
prepare
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected