I've been looking/waiting for a simple way to have a second database running on my app. But there's a catch, I want the second DB to be selected upon the domain name. i.e.
I have a main database, which handles configurations and global accounts, and I have a second database which handles specific info for that account. So far I've been using this config model http://www.blog.pythonlibrary.org/2009/06/13/using-multiple-databases-in-turbogears-2/ Which with some tweaks works. Now, where do you think should be the best point in those files to include a switch by 'HTTP_HOST' environment variable to choose the secondary DB? -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

