Django multiple databases router(Cross-database foreign key)

2011-03-24 Thread dy
Hi django devs, I have two models and need to store to different dbs.I want this field to be a foreign key from Test2, stored on the "test2" database, to the Test1 model stored on the "default" database.The codes are: # model in app test1,store to default class Test1(models.Model): name = mod

Re: Django multiple databases router(Cross-database foreign key)

2011-03-24 Thread Ramiro Morales
On Thu, Mar 24, 2011 at 7:23 AM, dy wrote: > Hi django devs, This list isn't a second level support fallback from django-users threads. It is exclusively dedicated to the discussion about development of Django*itself*. Please, keep this discussion in django-users. -- Ramiro Morales -- You re

Re: Django multiple databases router(Cross-database foreign key)

2011-03-24 Thread Russell Keith-Magee
On Thu, Mar 24, 2011 at 3:23 PM, dy wrote: > Hi django devs, > > I have two models and need to store to different dbs.I want this field > to be a > foreign key from Test2, stored on the "test2" database, to the Test1 > model stored on the "default" database.The codes are: > > # model in app test1,