Re: 2nd database for a specific app

2005-11-22 Thread Ian Holsman
Hi Patrick. At the moment Django can not talk to 2 different databases. If you need this, you might be able to get the data out of the 2nd database via custom functions which handle the db calls directly, or possibly futz with django/core/db regards Ian but I would wait 12-24 hours until the ex

Re: 2nd database for a specific app

2005-11-22 Thread patrick k
please help: i´m trying to have just ONE table for my app on a different host. all the other tables should be on dreamhost (auth, packages ...). so, when trying to install my newapp, i get an error like "table .packages not found". i basically need 2 setting files for one project (if that works).

Re: 2nd database for a specific app

2005-11-21 Thread patrick k
sorry for being stupid here, but do you mean something like this: django-admin.py startapp mynewapp --settings=myproject.newappsetings can i set the 2nd settings-file with DJANGO_SETTINGS_MODULE? > > On 11/21/05, patrick k <[EMAIL PROTECTED]> wrote: >> i have django installed on dreamhost. now

Re: 2nd database for a specific app

2005-11-21 Thread Adrian Holovaty
On 11/21/05, patrick k <[EMAIL PROTECTED]> wrote: > i have django installed on dreamhost. now i´d like to build an app with > tables from a given database on another host, still using my > dreamhost-installation. > since the database-settings seem to be global (settings.py) for all apps, > i´m not

2nd database for a specific app

2005-11-21 Thread patrick k
i have django installed on dreamhost. now i´d like to build an app with tables from a given database on another host, still using my dreamhost-installation. since the database-settings seem to be global (settings.py) for all apps, i´m not quite sure how to do this. patrick