at first session["a"] is oldvalue,
request A set session["a"] to newvalue, before session.save to db,(as
in django, the session save action occur at end of the request),
meanwhile, request B arrive, but get session["a"] is still the
oldvalue,
how to handle this?
--~--~-~--~~-
s when use django.core.context_processors.debug
On Tue, Apr 29, 2008 at 4:11 PM, Amit Ramon <[EMAIL PROTECTED]> wrote:
>
> * leopay <[EMAIL PROTECTED]> [2008-04-29 00:07 -0700]:
> >
> > I use django.core.context_processors.debug to see the sql_queries i
I use django.core.context_processors.debug to see the sql_queries in
template.
The raw sql of query
Entry.objects.all()[0,1]
does not in the sql_queries,but if I change the query like this
Entry.objects.all()[0]
and then the sql is in the sql_queries. why?
--~--~-~--~~~
3 matches
Mail list logo