Re: django connect alternate database.

2012-05-26 Thread kooliah
https://docs.djangoproject.com/en/dev/topics/db/multi-db/ On 05/26/2012 06:18 AM, Min Hong Tan wrote: hi, I have a situation. currently i have one default django 's database. but, i wound like to connect to mssql/other database. - how can i get connected to ms-sql/other database? - is it we h

Re: django connect alternate database.

2012-05-26 Thread jirka . vejrazka
Hi, search documentation for "database routers" and using() in the ORM... HTH Jirka -Original Message- From: Min Hong Tan Sender: django-users@googlegroups.com Date: Fri, 25 May 2012 22:18:23 To: Reply-To: django-users@googlegroups.com Subject: django connect

django connect alternate database.

2012-05-25 Thread Min Hong Tan
hi, I have a situation. currently i have one default django 's database. but, i wound like to connect to mssql/other database. - how can i get connected to ms-sql/other database? - is it we have to create class in models? the database is for read only. Hope able to get the information. Regards,