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

Improved support for accessing models when using multiple databases #550

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Spikiii
Copy link

@Spikiii Spikiii commented Oct 25, 2023

This was an issue that kept popping up in a work project that utilizes django-polymorphic. Specifically, the issue was that django-polymorphic didn't respect multiple databases for deletion, causing it to repeatedly error out if the object didn't exist in the default database, but did exist in the target_db.

I've verified that this change passes the tests, as outlined in the community contribution guidelines.

@j-antunes
Copy link
Contributor

Hi @Spikiii - The project has recently moved under a new team. If possible could you rebase this PR against master?

Also, could you provide a unit test for you changes? Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants