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
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
> 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
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
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
5 matches
Mail list logo