On 30.09.2012, at 23:41, Dan Loewenherz <[email protected]> wrote:

> Many backends don't support last modified times, and even if they all did, 
> it's incorrect to assume that last modified time is an accurate heuristic for 
> whether a file has already been uploaded or not.

Well but it's an accurate way to decide whether a file has been changed on the 
filesystem, and that's what collectstatic cares about. The storage backend *is* 
the API to extend that when needed, so feel free to use it.

> It might be a better idea to let the backends decide when a file has been 
> changed (instead of just calling the backend's last modified method).

I don't understand, you can easily implement exactly that in the last_modified 
method if you'd like.

Jannis

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
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.

Reply via email to