Skip to content
Snippets Groups Projects
receivers.py 390 B
Newer Older
from django.dispatch import receiver

from torque.signals import search_filter, update_cache_document, search_index_rebuilt

@receiver(update_cache_document)
def update_semantic_cache_document(sender, **kwargs):
    pass

@receiver(search_index_rebuilt)
def rebuild_semantic_search_index(sender, **kwargs):
    pass

@receiver(search_filter)
def semantic_fitler(sender, **kwargs):
    pass