Re: Help on ForeignKey across databases

2010-06-02 Thread xordoquy
Thanks a lof for your answer. I was not sure because of http://djangoadvent.com/1.2/multiple-database-support/ and esp. this part: The allow_relation method exists to provide a sanity check. Django doesn't want to let you assign cross-database relations if it's going to fail. Therefore when you'r

Re: Help on ForeignKey across databases

2010-06-02 Thread Russell Keith-Magee
On Wed, Jun 2, 2010 at 4:01 PM, wrote: > Hello, > > I am currently working on a project on which we access two different > databases. > One is a legacy database used by another application, the second being the > django dedicated db. > For some reason, I need to have model links (FK) from the dja

Help on ForeignKey across databases

2010-06-02 Thread xordoquy
Hello, I am currently working on a project on which we access two different databases. One is a legacy database used by another application, the second being the django dedicated db. For some reason, I need to have model links (FK) from the django db to legacy one but for consistency reasons, this