Quick question. Is it possible to switch which database Django uses on
the fly if the databases have identical schemes.

I have a need to read from one database (slave and write changes back
to a different database (master). So basically I want to populate a
model object from the slave database, alter it and save it so the
changes to go the master database.

I've looked as using more than one db manager but the save function
seems to used the default manager. Is it possible to change which
database connection a manager is currently using?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to