Good idea, but shouldn't it be a per-storage thing? Perhaps this could be
done with a couple of callbacks in the collectstatic run:
- Before collectstatic starts, so the storage backend can pick up its
inventory from the remote
- One called for each file that would be copied, and that can veto a
copy operation
- At the end of the collectstatic run, to update the inventory
That would make things customisable even for strange setups like storing
files in a database or whatnot?
Cheers,
mjl
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-developers/-/DLpjFU0NS_4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.