Re: Question about ticket #15610: Generic Foreign Keys break when used with multi-db

2019-09-27 Thread Adam Johnson
> > However, when generic foreign relations are created in a multi-db system > using Django migrations, separate content-type tables are created for each > db. Does this not depend on the db_for_migrate and db_for_write methods of any relevant database router? I think only one database could hav

Question about ticket #15610: Generic Foreign Keys break when used with multi-db

2019-09-26 Thread Yasunari Kato
Hello all, I was looking into ticket 15610 (https://code.djangoproject.com/ticket/15610), which describes an issue where generic foreign keys fail when the content-type table is located in a separate database from the tables containing the generic relations. The ticket makes this assumption "T