I still have them as unicode strings in [5559] 2007/6/11, Malcolm Tredinnick <[EMAIL PROTECTED]>: > > > On Mon, 2007-06-11 at 11:39 +0000, Christian Schmidt wrote: > > I use at this time the ugly version with eval(). I really don't know > > how ugly it is. Can I have problems if there is python code or > > something else in the uploaded file? > > What is the best solution for me until this is fixed? > > With any luck, this should now be fixed in [5464]. > > There are still some things to sort with file upload fields in newforms, > but that's true on trunk as well as unicode. The above change just means > you can do > > data = request.POST.copy() > data.update(request.FILES) > > and the FILES dictionary won't be incorrectly converted to a string (it > will still be a dictionary, as expected). That fixed oldforms behaviour, > for a start. > > Regards, > Malcolm > > > > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---