Skip to content

Add get_candidate_relations_to_delete #92

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

Merged

Conversation

PeterJCLaw
Copy link
Contributor

Fixes #77.

This PR also sets the type of Model._meta to Options, which I believe is correct. I've done this as my use-case for get_candidate_relations_to_delete passes in model_type._meta and it seemed like an improvement over the current usage of Any.

@mkurnikov mkurnikov merged commit 25165de into typeddjango:master Jul 1, 2019
mkurnikov added a commit that referenced this pull request Jul 1, 2019
@PeterJCLaw PeterJCLaw deleted the add-get-candidate-relations-to-delete branch May 26, 2023 23:57
voidus pushed a commit to voidus/django-stubs that referenced this pull request Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Module 'django.db.models.deletion' has no attribute 'get_candidate_relations_to_delete'
2 participants