On Monday, 05 January 2009 14:00:16 Eric Abrahamsen wrote:
> content.write(o.getvalue())
> super(CustomImageStorage,self).save(name, content)

That gives:
'InMemoryUploadedFile' object has no attribute '_mode'
Exception 
Location:       /usr/lib/python2.5/site-packages/django/core/files/base.py in 
_get_mode, line 39

I recall getting this mode error and went past it to my eventual solution. But 
I'd like to know if it's kosher or crazy.

\d

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to