Generic Relations don't work correctly on a non-default database alias
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)
Owner: |
changed from nobody to Andrew Godwin
|
Status: |
new → assigned
|
Triage Stage: |
Unreviewed → Accepted
|
Version: |
1.1 → SVN
|
Severity: |
→ Normal
|
Type: |
→ Bug
|
Component: |
Database layer (models, ORM) → contrib.contenttypes
|
Owner: |
Andrew Godwin removed
|
Status: |
assigned → new
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Change UI/UX from NULL to False.