toastdriven/django-haystack — pull request #976 by foobacca (2014-03-18 16:27:56+00:00)
Title: On update, check if object is include in index_queryset

and if not, then remove it.

This is useful when we are excluding some items, eg unpublished items.

This is the haystack 1.2.X version of #936. Even if 1.2.X is no longer maintained, it means other people can find it if they need it.