Changes between Initial Version and Version 1 of Ticket #12229
- Timestamp:
- Nov 17, 2009, 3:12:27 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12229 – Description
initial v1 5 5 Does 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: 6 6 7 {{{ 7 8 p = Photo(...) 8 9 p.image.save(filename, ContentFile(data)) 10 }}} 9 11 10 12 which was exactly what I wanted. If there's a preferred way to do it, that'd be fine too.