On 15 ?.?. 2010, at 21:35, Devin M wrote:

> Ok its running in a infinite loop because im calling
> self.*photo.save() and that starts this loop all over again. Maybe I
> can add a field to the model like booleen resized and if its true dont
> do any resizing but if its false then perform some resizing(aka run
> the function)? also im going to have to delete these files when the
> object is deleted too.

You can also override the delete function to take care of deleting the files 
when you're getting rid of the object...


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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