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

Class CharPKMockModelSearchIndex

test_haystack/test_query.py:400–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398
399
400class CharPKMockModelSearchIndex(indexes.SearchIndex, indexes.Indexable):
401 text = indexes.CharField(document=True, model_attr="key")
402
403 def get_model(self):
404 return CharPKMockModel
405
406
407class SimpleMockUUIDModelIndex(indexes.SearchIndex, indexes.Indexable):

Callers 2

setUpMethod · 0.85
setUpMethod · 0.85

Calls

no outgoing calls

Tested by 2

setUpMethod · 0.68
setUpMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…