Changes between Initial Version and Version 1 of Ticket #33071
- Timestamp:
- Aug 30, 2021, 9:31:30 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33071 – Description
initial v1 1 I just introduced multiple DBs in my Django app to split up some of the write/read load. I found that ContentType does not work across multiple DBs with GenericForeignKey. It is hard coded to use the same DB as the source /parentmodel. Here is the code that has a hard coded .using().1 I just introduced multiple DBs in my Django app to split up some of the write/read load. I found that ContentType does not work across multiple DBs with GenericForeignKey. It is hard coded to use the same DB as the source model. Here is the code that has a hard coded .using(). 2 2 3 3 {{{