Skip to content

Module 'django.db.models.deletion' has no attribute 'get_candidate_relations_to_delete' #77

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

Closed
PeterJCLaw opened this issue May 15, 2019 · 0 comments · Fixed by #92
Closed

Comments

@PeterJCLaw
Copy link
Contributor

Thanks for these type stubs. I'm just trying them out on a large Django codebase and I've hit a warning which seems incorrect:

from django.db.models.deletion import get_candidate_relations_to_delete

will emit an error about the memcached backend not being present:

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

(sorry these ended up as three separate issues, in hindisght it might have made more sense to report them in the same go)

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

Successfully merging a pull request may close this issue.

1 participant