django-polymorphic icon indicating copy to clipboard operation
django-polymorphic copied to clipboard

Improved support for accessing models when using multiple databases

Open Spikiii opened this issue 2 years ago • 1 comments

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.

Spikiii avatar Oct 25 '23 15:10 Spikiii

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!

j-antunes avatar Dec 13 '23 16:12 j-antunes