It is the way to go.
> How can I make django look for django_session's table on my
> "secondary" MySQL DB ?
http://docs.djangoproject.com/en/dev/topics/db/multi-db/#automatic-database-routing has all the details. your router would look like:
class MyRouter(object):
def db_for_read(model, **hints):
if model == Session:
return 'secondary'
db_for_write = db_for_read
--
Dennis K.
They've gone to plaid!
if model == 'Session'
instead and that error will disappear.
regards
Steve