We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a document
class DocDocument(Document): class Django: model = Model1 related_models = [Model2] def get_instances_from_related(self, related_instance): if isinstance(related_instance, Model2): return related_instance.model1
When I delete Model2, it updates the document but Model2 still indexes me because it calls the function in a pre_delete and not in a post_delete
The text was updated successfully, but these errors were encountered:
I have exactly the same issue... I am not sure of this is intended. However I end up with a desync between my models and the document...
Sorry, something went wrong.
Likewise, just encountered this behaviour
No branches or pull requests
I have a document
When I delete Model2, it updates the document but Model2 still indexes me because it calls the function in a pre_delete and not in a post_delete
The text was updated successfully, but these errors were encountered: