On 3/26/07, Jeremy Bowers <[EMAIL PROTECTED]> wrote:
>
> Wolfram Kriesing wrote:
> > The main reason I need this is that I want to have a transparent model
> > that switches the underlying language (the according DB table it
> > should work on) on the fly, so i can keep hacking away without
> > la
On 3/26/07, Honza Král <[EMAIL PROTECTED]> wrote:
> On 3/26/07, Wolfram Kriesing <[EMAIL PROTECTED]> wrote:
> >
> > I would like to change the table of a model on the fly.
> > I was looking into the Manager code, but since the get_query_set()
> > method in there uses the model as is, changing the
>
Wolfram Kriesing wrote:
> The main reason I need this is that I want to have a transparent model
> that switches the underlying language (the according DB table it
> should work on) on the fly, so i can keep hacking away without
> language switching before every access via my model.
>
Why do yo
On 3/26/07, Wolfram Kriesing <[EMAIL PROTECTED]> wrote:
>
> I would like to change the table of a model on the fly.
> I was looking into the Manager code, but since the get_query_set()
> method in there uses the model as is, changing the
> model._meta.db_table would most probably change the db_tabl
I would like to change the table of a model on the fly.
I was looking into the Manager code, but since the get_query_set()
method in there uses the model as is, changing the
model._meta.db_table would most probably change the db_table for all
users/threads, not only for the current one, right?
An