Re: putting a database object in a session

2006-03-05 Thread Joseph Kocherhans
On 3/5/06, Jeremy Jones <[EMAIL PROTECTED]> wrote: > > Is it bad form to put a database object in a session variable? It > really just feels wrong, but it works. Typically, I would just put the > object's ID in a session variable and retrieve the object when I next > needed it, but I accidentall

putting a database object in a session

2006-03-05 Thread Jeremy Jones
Is it bad form to put a database object in a session variable? It really just feels wrong, but it works. Typically, I would just put the object's ID in a session variable and retrieve the object when I next needed it, but I accidentally forgot to do ``request.session["this_thing"] = obj.id`` and