Re: Multi Database Question

2010-03-19 Thread Russell Keith-Magee
On Fri, Mar 19, 2010 at 10:19 PM, mbdtsmh wrote: > This makes alot of sense and works in my case - many thanks. > > However, still unclear as to how to specify which table should be > created in which database when you do want to syncdb to both > databases. I may have 2 tables in models.py that I

Re: Multi Database Question

2010-03-19 Thread mbdtsmh
This makes alot of sense and works in my case - many thanks. However, still unclear as to how to specify which table should be created in which database when you do want to syncdb to both databases. I may have 2 tables in models.py that I want to point to db_1 and 3 tables in models.py I want to s

Re: Multi Database Question

2010-03-19 Thread Daniel Roseman
On Mar 19, 8:44 am, mbdtsmh wrote: > Hi all - I'm trying out the multi database options in django 1.2 beta > on a new project. I can connect to two databases which is great. > > However, I'm not sure what to do in my models.py file??? > > I have a single class in models.py that points to a table o

Multi Database Question

2010-03-19 Thread mbdtsmh
Hi all - I'm trying out the multi database options in django 1.2 beta on a new project. I can connect to two databases which is great. However, I'm not sure what to do in my models.py file??? I have a single class in models.py that points to a table on a different database (existing table of data