On 2005-12-01, at 16:40 CET, PythonistL wrote:

Please let know the Django community when you are finished with that.

First version is attached to #961, it requires to patch django because that is the only way for me to add some "magic" into model delete method (see save/delete/etc hooks for custom fields thread).

Other solution is to manually insert call to delete thumbnails in model _post_delete method.

If this makes into contrib I'll will have to make separate helper function to delete thumbnails for a given image url and drop auto deletion (for now).

---
Nebojša Đorđević - nesh
Studio Quattro - Niš - SCG

http://djnesh.blogspot.com/  |  http://djnesh-django.blogspot.com/
Registered Linux User 282159 [http://counter.li.org]



Reply via email to