In my application's admin console, there's a tiny form for updating the image associated with a specific model.
When a file is uploaded, the application reaches this code: if request.method == 'POST': file = request.FILES.copy() ...and fails with this error: object.__new__(cStringIO.StringO) is not safe, use cStringIO.StringO.__new__() The stack trace http://dpaste.com/hold/173776/ shows me that the actual error is happening at a lower level than my actual call, and some browsing around the archives for this list tells me that (a) this isn't an uncommon problem, and (b) "deepcopy" seems to be the root of my problem. (For those who don't click through to the traceback, this is Django 1.0.2 final, Python 2.5.1. The traceback is from my development version.) How can I grab the uploaded file for future manipulation which working around "deepcopy"? Thanks, pjm -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.