Closed benesch closed 9 years ago
Nice catch @benesch! Thanks! The proposal looks nice. I'll try to make the review and merge on monday/tuesday...
Thank you for that, it is a really good catch. I think we should also add an example in the documentation.
Great! Glad I could help. I'll patch up the test names tomorrow.
django.views.static.was_modified_since
takes a numeric Unix timestamp, not adatetime.datetime
. Convert our file wrapper'smodified_time
property to a Unix timestamp before passing it along.Failing tests (that now pass) included!