Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register signals only to models that have a search index?!? #70

Open
jedie opened this issue Jul 31, 2018 · 0 comments
Open

register signals only to models that have a search index?!? #70

jedie opened this issue Jul 31, 2018 · 0 comments

Comments

@jedie
Copy link

jedie commented Jul 31, 2018

The default celery_haystack.signals.CelerySignalProcessor connects to django.db.models.signals.post_save and django.db.models.signals.post_delete

So the processor handles all save/delete actions for all models and not just for models that has a SearchIndex class...

It would only be more effective to connect only to the relevant models, isn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant