#7677: InMemoryFile.read() doesn't work with newforms.ImageField ---------------------------+------------------------------------------------ Reporter: apollo13 | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | ---------------------------+------------------------------------------------ Currently InMemoryFile.read() returns "", if you are using it in conjunction with ImageField. The reason seems to be that ImageField already reads the data, so the position is at -1 and a further read won't return anything.
I included a simple patch, although I am not quite sure, if it's the right way to fix it... -- Ticket URL: <http://code.djangoproject.com/ticket/7677> Django Code <http://code.djangoproject.com/> 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?hl=en -~----------~----~----~----~------~----~------~--~---
