Hope this link would be of use to you: http://docs.djangoproject.com/en/dev/topics/db/models/#overriding-predefined-model-methods
Xia Kai(夏恺) xia...@gmail.com http://blog.xiaket.org -------------------------------------------------- From: "PanFei" <cnwe...@gmail.com> Sent: Friday, December 11, 2009 3:02 PM To: "Django users" <django-users@googlegroups.com> Subject: how to not delete Image files > Hi all, I have a model that use ImageField , now i want to delete a > recorder from the database,but after call delete() my the file is also > deleted ! i think i should override some method ,but where it > is ,looking forward for you reply ,thank you . > -- 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.