Re: need help in multi db

2010-03-11 Thread lakshmi silaja
no i want to use mysql and postgres parallel. On Thu, Mar 11, 2010 at 10:04 PM, Harsha Reddy wrote: > And the database that you are using is? > By chance is it SQLite? > > I recently encountered such a requirement.. I am using django checked > out from the svn repo. > I solved it by doing someth

Re: need help in multi db

2010-03-11 Thread Harsha Reddy
And the database that you are using is? By chance is it SQLite? I recently encountered such a requirement.. I am using django checked out from the svn repo. I solved it by doing something like this... def result(request): DATABASES['default']['NAME']='./data/db/scenario1.db' ... b

Re: need help in multi db

2010-03-10 Thread lakshmi silaja
thanks for ur suggestion jirka On Thu, Mar 11, 2010 at 3:01 AM, Jirka Vejrazka wrote: > Hi Silaja, > > first, I'm going to guess that no one will be able to solve your > problem. There are multiple reasons for it: > > - Multiple database support is in Django 1.2. You insist on using it > on Dja

Re: need help in multi db

2010-03-10 Thread Jirka Vejrazka
Hi Silaja, first, I'm going to guess that no one will be able to solve your problem. There are multiple reasons for it: - Multiple database support is in Django 1.2. You insist on using it on Django 1.1, without mentioning why you can't upgrade (the upgrade would make sense for any reader not

Re: need help in multi db

2010-03-10 Thread lakshmi silaja
Hi avinash thanks for ur reply.. i want that in Django1.1.1 as specified in this link http://www.eflorenzano.com/blog/tag/multiple-databases/ i think there is one way to get multiple db concept in django 1.1.1. but i cont able to get the right way to do. if u know please reply. thank u. On Thu,

Re: need help in multi db

2010-03-10 Thread Avinash Prasad
Hi silaja, The best place to get a clear idea is to go to http://www.djangoproject.comand look for its documentation under multiple databases section. The support for multiple databases is there only in django's latest version. In settings.py file the DATABASES dictionary now has multiple keys wher

Re: need help in multi db

2010-03-10 Thread lakshmi silaja
hi swawn, thanks for ur reply. i tried in django2.1. but i want that in Django 1.1.1. i tried as shown in this url. http://www.eflorenzano.com/blog/tag/multiple-databases/ but i dont want to do like that. i want to seperate tables. i.e some of rows in some "x" table in one database and some of rows

Re: need help in multi db

2010-03-10 Thread Shawn Milochik
Go to google.com. Search for this: multi-database support in django You will find that the first result is from a page on code.djangoproject.com which directly discusses this and links to the usage documentation. Note that this feature is currently in beta, and will be officially released as p