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
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,
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
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
4 matches
Mail list logo