MCPcopy Create free account
hub / github.com/django-haystack/django-haystack / get_model

Method get_model

test_haystack/test_indexes.py:25–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 pub_date = indexes.DateTimeField(model_attr="pub_date")
24
25 def get_model(self):
26 return MockModel
27
28
29class BadSearchIndex2(indexes.SearchIndex, indexes.Indexable):

Callers 2

__init__Method · 0.45
searchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected