Re: Can I map authenticated users to specific databases via a database Router?

2010-05-05 Thread Russell Keith-Magee
On Thu, May 6, 2010 at 7:58 AM, Parker wrote: > I'm trying to port part of an existing application to Django.  In the > other application, each user has their data stored on separate > databases with identical schemas. > > For example, if we have users A, B and

Can I map authenticated users to specific databases via a database Router?

2010-05-05 Thread Parker
I'm trying to port part of an existing application to Django. In the other application, each user has their data stored on separate databases with identical schemas. For example, if we have users A, B and C, there are 3 databases ("DatabaseA", "DatabaseB", "DatabaseC") each having two tables: