We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1db4e45 commit 1baca60Copy full SHA for 1baca60
tests/models.py
@@ -35,7 +35,7 @@ def property_should_index(self):
35
36
@property
37
def property_should_not_index(self):
38
- return True
+ return False
39
40
41
def property_string(self):
tests/test_index.py
@@ -254,7 +254,7 @@ class ExampleIndex(AlgoliaIndex):
254
255
class ExampleIndex(AlgoliaIndex):
256
fields = 'name'
257
- should_index = 'static_should_not_index'
+ should_index = 'property_should_not_index'
258
259
index = ExampleIndex(Example, self.client)
260
self.assertFalse(index._should_index(self.instance),
0 commit comments