mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-21 05:21:54 +00:00
fix spelling
This commit is contained in:
parent
4c392b9b00
commit
59fb5c9222
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ from wagtail.wagtailsearch.backends import get_search_backends
|
|||
def get_indexed_instance(instance):
|
||||
indexed_instance = instance.get_indexed_instance()
|
||||
|
||||
# Make sure that the instance is in it's classes indexed objects
|
||||
# Make sure that the instance is in its class's indexed objects
|
||||
if not type(indexed_instance).get_indexed_objects().filter(id=indexed_instance.id).exists():
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue