On 08/05/2014 03:42 AM, Areski Belaid wrote:
> I also agree with you that custom storage will be more elegant solution.
> 
> On the other hand it seems to me that reusing the same file on upload
> will not allow a clean management of user's resources, for instance if a
> user decide to delete a file we won't be able to tell if this file is
> used by an other user too.

Note that we have strong precedent already in Django that an uploaded
file is not strongly linked to one particular FileField, but may be a
shared resource: uploaded files are never removed when a model instance
containing a FileField is deleted.

Carl

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/53E11787.7080805%40oddbird.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to