For me works like:

[...]
form = ProfileForm(request.POST.copy())
    if form.is_valid():
        data = form.clean_data
         for i in data :
             if isinstance(data[i], unicode):
                 data[i] = data[i].encode(settings.DEFAULT_CHARSET)
[...]

No need to create an old_data.
I know is ugly, but until the patch it remains.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to