pull/5013/head
Matt Westcott 2019-01-29 17:09:53 +00:00
rodzic 50e72dc58b
commit 94c9a99156
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -20,7 +20,7 @@ def post_delete_signal_handler(instance, **kwargs):
def register_signal_handlers():
# Loop through list and register signal handlers for each one
for model in index.get_indexed_models():
if getattr(model, 'search_auto_update', True) == False:
if not getattr(model, 'search_auto_update', True):
continue
post_save.connect(post_save_signal_handler, sender=model)