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 is not possible out of the
box.
I searched a bit and saw that routers *may* solve this.

It is not very clear to me so I'd like confirmations or not about my
guesses.

Are ForeignKey possible across databases through a router and esp. the
allow_relation method ?
If yes, will I be able to construct queries just like if we were on the
same database ?

Regards,
Xavier.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to