Re: django_session not in "default" DB

2010-08-02 Thread Steve Holden
That was a simple typo in Dennis' reply. Use \ if model == 'Session' instead and that error will disappear. regards Steve On 7/30/2010 1:03 PM, Jocelo wrote: > Hi, Thanks for your previous reply. I'm still having problems... now > I'm getting the following error: > > NameError: glob

Re: django_session not in "default" DB

2010-07-30 Thread Jocelo
Hi, Thanks for your previous reply. I'm still having problems... now I'm getting the following error: NameError: global name 'Session' is not defined I check up the documentation, I understand that 'django.contrib.sessions.backends.db' makes the Session model available in the DB router so,

Re: django_session not in "default" DB

2010-07-29 Thread Dennis Kaarsemaker
On do, 2010-07-29 at 13:03 -0700, Jocelo wrote: > Hi, > > I have two DB configured on my django project... one in oracle and the > other one in MySQL... > My Oracle DB is the default one, and on MySQL I store data that is not > really related to my main application. > > I want to store session da

django_session not in "default" DB

2010-07-29 Thread Jocelo
Hi, I have two DB configured on my django project... one in oracle and the other one in MySQL... My Oracle DB is the default one, and on MySQL I store data that is not really related to my main application. I want to store session data in MySQL, since oracle is legacy but whenever I try to store