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
<h1>value : {{ request.session.hello }}</h1>

But nothing is displayed!!!

1) I am sure the index view is called (I can see the print debug
output)
2) In settings.py,
'django.contrib.sessions.middleware.SessionMiddleware' is enabled

So I really don't see where the pb is...

Any idea?

Regards,
Marc.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to