Re: Trouble accessing session data from a template

2009-10-30 Thread Marco
On Oct 29, 9:04 pm, Daniel Roseman wrote: > On Oct 29, 5:32 pm, Marco wrote: > > > > > Hi all, > > > I going a little bit crazy that's why I'm posting here ... > > > I have a view : > > > def index(request): > >    request.session['hello'] = 'world !!!' > >    print "hello!!!" > >    return re

Re: Trouble accessing session data from a template

2009-10-29 Thread Daniel Roseman
On Oct 29, 5:32 pm, Marco wrote: > Hi all, > > I going a little bit crazy that's why I'm posting here ... > > I have a view : > > def index(request): >    request.session['hello'] = 'world !!!' >    print "hello!!!" >    return render_to_response('index.html') > > in this page index.html I have >

Trouble accessing session data from a template

2009-10-29 Thread Marco
Hi all, I going a little bit crazy that's why I'm posting here ... I have a view : def index(request): request.session['hello'] = 'world !!!' print "hello!!!" return render_to_response('index.html') in this page index.html I have value : {{ request.session.hello }} But nothing is dis