Re: storing objects in session

2012-04-06 Thread Shawn Milochik
Try using pdb and/or logging statements to trace it. You will almost certainly find your problem that way. If not, you'll be able to ask a more specific question that will be easier for others to answer. On Apr 6, 2012 3:11 PM, "imgrey" wrote: > I'm trying to store temporary cart in session, but

storing objects in session

2012-04-06 Thread imgrey
I'm trying to store temporary cart in session, but cart items disappear after 3-4 page reloads. This is simplified version of my code, that reproduces the issue: """ class C(object): ITEMS = {} def pprint(self): return str(self.ITEMS) class I(dict): pass def my_context_proce