MCPcopy Index your code
hub / github.com/django-haystack/django-haystack / __init__

Method __init__

haystack/fields.py:413–417  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

411 field_type = "datetime"
412
413 def __init__(self, **kwargs):
414 if kwargs.get("facet_class") is None:
415 kwargs["facet_class"] = FacetDateTimeField
416
417 super().__init__(**kwargs)
418
419 def prepare(self, obj):
420 return self.convert(super().prepare(obj))

Callers

nothing calls this directly

Calls 2

getMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected