Changes between Initial Version and Version 1 of Ticket #12229


Ignore:
Timestamp:
Nov 17, 2009, 3:12:27 AM (15 years ago)
Author:
Ramiro Morales
Comment:

(formatted description)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12229 – Description

    initial v1  
    55Does it say how to save an image to a filefield or imagefield. Only by digging in to the code was I able to find this:
    66
     7{{{
    78p = Photo(...)
    89p.image.save(filename, ContentFile(data))
     10}}}
    911
    1012which was exactly what I wanted. If there's a preferred way to do it, that'd be fine too.
Back to Top