Friday, March 1, 2013

Re: Django save method in infinite loop, code review?

right OK now I get it..... see, just needed a little push in the right direction...


so I moved super up
I then changed to use  resized_image = Image.open(self.image)
I then changed self.image.save('%s.jpg' % suf.name, suf, save=False)

and BOOM! all working!

Thanks so much, this is so fun!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment