Thursday, May 31, 2012

Re: image files do not get deleted on deleting an object

On Thu, 31 May 2012 12:44:40 +0530, kenneth gonsalves
<lawgon@thenilgiris.com> declaimed the following in
gmane.comp.python.django.user:

> hi,
>
> I have just noticed that on deleting an object, the images and files
> stored on disk for this object do not get deleted. Is this a bug or a
> feature?

Off-hand, if you are talking about actual external files, I'd say
"NEITHER".

Django has no idea if those files might be referenced in some other
record, or be needed by something else outside of the Django system.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate