need help in multi db

2010-03-10 Thread lakshmi silaja
Hi, i'm silaja, in my django project i want to work with multiple database. i'm new to django. if any one know about multiple databases concept please reply me. even u have any links regarding this concept please reply. thank you. -- You received this message because you are subscribed to the Goo

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 lakshmi silaja
> data = User.objects.using('sqlite_db').save() use the using() method to > tell django where you want to save the entry. > Similar rules apply for while retrieving data. > > Hope this helps. > Do not forget to look into the API. > Happy coding!! > > Avinash > > &g

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-11 Thread lakshmi silaja
solved it by doing something like this... > > def result(request): >DATABASES['default']['NAME']='./data/db/scenario1.db' >... blah blah.. > > see if this approach help probably... > > Cheers!! > Harsha Reddy > > On Mar 11, 1