On Thu, Dec 24, 2009 at 2:58 PM, S.Selvam wrote:
>
>
> On Thu, Dec 24, 2009 at 2:52 PM, Raffaele Salmaso <
> raffaele.salm...@gmail.com> wrote:
>
>> S.Selvam wrote:
>> > Hi all,
>> >
>> > I have a a need to decide the database dynamically.On submitting the
>> > form,i
On Thu, Dec 24, 2009 at 2:52 PM, Raffaele Salmaso <
raffaele.salm...@gmail.com> wrote:
> S.Selvam wrote:
> > Hi all,
> >
> > I have a a need to decide the database dynamically.On submitting the
> > form,i would check a parameter action in my views.py.
> >
> > if action=="dummy":
> >
S.Selvam wrote:
> Hi all,
>
> I have a a need to decide the database dynamically.On submitting the
> form,i would check a parameter action in my views.py.
>
> if action=="dummy":
>DATABASE_NAME=maindb_tmp
> else:
>DATABASE_NAME=maindb
>
> But that does not work,it always chooses
Hi all,
I have a a need to decide the database dynamically.On submitting the
form,i would check a parameter action in my views.py.
if action=="dummy":
DATABASE_NAME=maindb_tmp
else:
DATABASE_NAME=maindb
But that does not work,it always chooses table from maindb.
How could i force it
4 matches
Mail list logo