Re: choose database manually per-request

2010-02-13 Thread PDani
Dear Graham, Thanks for the quick answer! Basicly, I would like to handle this problem from the app, so I can't modify the underlying architecture. Your suggestion needs some changes in the apache configuration, I guess. The only thing I have access to is the source of the webapp. Thanks, anyway,

Re: choose database manually per-request

2010-02-13 Thread Graham Dumpleton
On Feb 13, 7:43 am, PDani wrote: > Hi! > > I would like to set up some database servers in Django 1.2, and then > use them in this way: when a new request comes, i choose a server > manually, and then use this ONLY ONE server in that request. I don't > want to pass around

choose database manually per-request

2010-02-12 Thread PDani
Hi! I would like to set up some database servers in Django 1.2, and then use them in this way: when a new request comes, i choose a server manually, and then use this ONLY ONE server in that request. I don't want to pass around parameters, which server i chosen, so somehow, i would like to make