Updating to Django 1.3 - how to preserve file field previous behaviour
Hi all,
According to http://docs.djangoproject.com/en/dev/releases/1.3/#filefield-no-longer-deletes-files
FileField fields no longer delete the related file when the instance
is deleted.
I understand the motivations behind this decision BUT this creates
several side effects in various websites which I have developed.
Is it there a way to keep the original behaviour?
If not, which one in your opinion is the best way to delete files when
the owning instance has been deleted?
A post delete signal? Will this suffer from the original problem for
which the file deletion has been removed?
--
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