lsbardel/python-stdnet — Issue #19: Runtime connection string for models
Author: lsbardel
Created: 2011-11-09 18:41:31+00:00
State: open
Labels: design, improvement, new feature

At the moment to change the connection string of a model we need to call ``register`` which modify the model ``model._meta.cursor``. In doing this it is not possible to concurrently use the same model for two different backens.

Propose to:

* Move the default connection string to a separate object
* Allow for the ``using`` parameter when performing queries.