Re: variables in Django Session

2006-12-23 Thread Osso
If you modify the variable directly it won't call the setter in the django session app. So you need to: # get the variable myform = request.session['myform'] # update it myform['field1']=someVariable # update your session request.session['myform'] = myform I had the same problem and that fixed

variables in Django Session

2006-12-23 Thread GvaderTh
Hi all. I have to 2 questions about django session. Why when I put variable to session in my view method and get that variable from session in others view method, that variable is list type, with index 0? I try to put to session variable which is a dictionary of dictionary and it won't work e.g.