Generic Relations don't work correctly on a non-default database alias
|Reported by:||Andrew Godwin||Owned by:|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Specifically, line 195 of contrib.contenttypes.generic uses django.db.connection directly - this needs to be fixed.
It looks like it will need connection-choosing pushed inside the RelatedManager provided. I'm going to work on fixing this - just noting it as a separate ticket to #13528 (I found it while fixing that, but it's a separate issue, pretty much, it affects quoting as well as table name truncation).
Change History (11)
comment:1 Changed 6 years ago by
|Owner:||changed from nobody to Andrew Godwin|
|Patch needs improvement:||unset|
|Status:||new → assigned|
|Triage Stage:||Unreviewed → Accepted|
|Version:||1.1 → SVN|