database router is the solution, check this out http://docs.djangoproject.com/en/1.2/topics/db/multi-db/#database-routers <http://docs.djangoproject.com/en/1.2/topics/db/multi-db/#database-routers>
On Sat, Nov 27, 2010 at 12:34 AM, Tom Evans <tevans...@googlemail.com>wrote: > On Fri, Nov 26, 2010 at 5:28 PM, Roy Smith <r...@panix.com> wrote: > > I want my application to be able to access two different mysql > > databases (with different credentials, running on two different > > servers). One is a large data collection which I'll be accessing read- > > only. The other is read-write, and will be the one which manages the > > site (account creation, user preferences, etc). Is there a way to do > > this? > > > > http://docs.djangoproject.com/en/1.2/topics/db/multi-db/ ? > > HTH > > Tom > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Girish M S -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.