Re: Accessing several databases at once

2006-07-27 Thread John Morton
On Thu, 27 Jul 2006 18:41, James Bennett wrote: > On 7/27/06, John Morton <[EMAIL PROTECTED]> wrote: > > I have an app built who's data (shared lookup tables) is stored in it's > > own database. I want to pull those models into another application to map > > various codes in the second application

Re: Accessing several databases at once

2006-07-27 Thread Marc Fargas
In case the database is on the same host and technology (mysql, sqlite...) you could create a wrapper view in the databse django uses, to query data on the other database. At least that's what I did until such multi-db branch becomes stable! Cheers,Marc.On 7/27/06, John Morton <[EMAIL PROTECTED]> w

Re: Accessing several databases at once

2006-07-26 Thread James Bennett
On 7/27/06, John Morton <[EMAIL PROTECTED]> wrote: > I have an app built who's data (shared lookup tables) is stored in it's own > database. I want to pull those models into another application to map various > codes in the second application's data to sensible user output, but I can't > see a str