Manager for multiple database connections


/ Published in: Python
Save to your folder(s)

A Django model manager capable of using different database connections.

Inspired by:

* [Eric Florenzano](http://www.eflorenzano.com/blog/post/easy-multi-database-support-django/)
* [Kenneth Falck](http://kfalck.net/2009/07/01/multiple-databases-and-sharding-with-django)

There's a more detailed version in Portuguese in my blog:
[Manager para diferentes conexões de banco no Django](http://ricobl.wordpress.com/2009/08/06/manager-para-diferentes-conexoes-de-banco-no-django/)

URL: http://ricobl.wordpress.com/2009/08/06/manager-para-diferentes-conexoes-de-banco-no-django/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.