Re: Multiple Databases support in 1.2

2010-01-07 Thread Keith Fernie
On 07/01/10 10:51, cschand wrote: How we can create tables for the databases other than default? I have two databases and the settings are DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'dbtest1', 'USER': 'root', 'PASSWORD': 'pass

Re: Multiple Databases support in 1.2

2010-01-07 Thread cschand
Thanks Russ On Jan 7, 4:20 pm, Russell Keith-Magee wrote: > On Thu, Jan 7, 2010 at 6:51 PM, cschand wrote: > > When I run syncdb command it creates tables for default (dbtest1 > > database) only. How can I create tables for db2? Is it possible to > > create at runtime? > > syncdb (and all the ot

Re: Multiple Databases support in 1.2

2010-01-07 Thread Russell Keith-Magee
On Thu, Jan 7, 2010 at 6:51 PM, cschand wrote: > When I run syncdb command it creates tables for default (dbtest1 > database) only. How can I create tables for db2? Is it possible to > create at runtime? syncdb (and all the other database-related management commands) now takes a --database argume