#2079: FileFields AddManipulator gives error in deepcopy
-------------------------------------+--------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Core framework | Version: magic-removal
Severity: major | Keywords:
-------------------------------------+--------------------------------------
After updating to revision 3070, image uploading suddenly stopped working.
Here's my code:
{{{
manipulator = Picture.AddManipulator()
new_data = request.POST.copy() # **
new_data.update(request.FILES)
manipulator.do_html2python(new_data)
picture = manipulator.save(new_data)
}}}
This breaks in the line marked ** with the following error:
{{{
Exception Type:
TypeError
Exception Value:
__deepcopy__() takes exactly 2 arguments (1 given)
Exception Location:
/usr/lib64/python2.4/site-packages/django/utils/datastructures.py in
copy, line 187
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/2079>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates
-~----------~----~----~----~------~----~------~--~---