Re: Pickle a django form

2008-07-20 Thread Evert
> Same problem here . > > Im trying to put a form into de session but I can't. The error it gave > me was the same you have There are limitations to what can be pickled; see http://docs.python.org/lib/node317.html I don't know the intrinsic details of how a form is pickled, but probably

Re: Pickle a django form

2008-07-20 Thread JPC
Same problem here . Im trying to put a form into de session but I can't. The error it gave me was the same you have On Jun 25, 5:24 am, Rufman <[EMAIL PROTECTED]> wrote: > I'm trying to create a little hack, so that i have dynamic django > forms. > So that i have the state of the form

Pickle a django form

2008-06-25 Thread Rufman
I'm trying to create a little hack, so that i have dynamic django forms. So that i have the state of the form class i have created a helper function that takes a dictionary of django form fields, unpacks it and creates a form. So that i have the same blueprint for form validation in the request th