Wow, you're right. I've been programming Python for years, and I
somehow never noticed that. I'll be quiet not :-)
On Dec 17, 6:33 pm, Malcolm Tredinnick
wrote:
> On Wed, 2008-12-17 at 15:09 -0800, Jeff FW wrote:
> > You've got a space in between "HttpResponseRedirect" and "('../
> > shop')" .
On Wed, 2008-12-17 at 15:09 -0800, Jeff FW wrote:
> You've got a space in between "HttpResponseRedirect" and "('../
> shop')" .
Which is perfectly legal and unambiguous in Python. That isn't a
problem.
Regards,
Malcolm
--~--~-~--~~~---~--~~
You received this m
On Wed, 2008-12-17 at 11:44 -0800, Bobby Roberts wrote:
>
> > Have a look at theflush() method; I believe that might well be close to
> > what you are after.
> >
> > Regards,
> > Malcolm
>
>
> I'm trying to call the view below:
>
> def DoSessionReset(request):
> request.session.flush()
>
You've got a space in between "HttpResponseRedirect" and "('../
shop')" .
On Dec 17, 2:44 pm, Bobby Roberts wrote:
> > Have a look at theflush() method; I believe that might well be close to
> > what you are after.
>
> > Regards,
> > Malcolm
>
> I'm trying to call the view below:
>
> def DoSessi
> Have a look at theflush() method; I believe that might well be close to
> what you are after.
>
> Regards,
> Malcolm
I'm trying to call the view below:
def DoSessionReset(request):
request.session.flush()
return HttpResponseRedirect ('../shop')
I'm getting this error:
TypeError at
On Thu, 2008-11-20 at 14:06 -0800, Bobby Roberts wrote:
> is there a way to kill a session rather than running a del statement
> on each session variable? I know in .asp you can simply say
> session.abandon. Is there an equivalent with django?
Django has this really nifty feature (I believe AS
On 20 Nov 2008, at 22:06, Bobby Roberts wrote:
> is there a way to kill a session rather than running a del statement
> on each session variable? I know in .asp you can simply say
> session.abandon. Is there an equivalent with django?
In the session documentation there are mentions of: clear()
is there a way to kill a session rather than running a del statement
on each session variable? I know in .asp you can simply say
session.abandon. Is there an equivalent with django?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
8 matches
Mail list logo