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 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 that adds the data to the datastore (following the
> calling of the form), i need to save the dictionary of django form
> field classes to the session.
>
> my problem: pickle is unable to pickle the django form fields...(maybe
> because they have 'lazy' behavior???)
>
> the error i get: PicklingError: Can't pickle <class
> 'django.utils.functional.__proxy__'>: attribute lookup
> django.utils.functional.__proxy__ failed
>
> thanks for the help
>
> stephane
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to