Closed zerc closed 9 years ago
Thanks for the report!
I can to contribute if needed.
It would be very nice :)
Oh sorry for this spam
Hi @zerc and @benesch ! I merged your pull-requests and released django-downloadview 1.8 :) Thank you!
Thanks so much! Looks great.
Hello!
Some times i catched this exception when downloaded file. After some digging i found why.
This happens when request has
If-Modified-Since
header.Exception raised here: https://github.com/benoitbryon/django-downloadview/blob/master/django_downloadview/views/base.py#L119
because
modification_time
it is realy datetime object for default storage (FileSystemStorage)https://github.com/django/django/blob/master/django/core/files/storage.py#L324
I can to contribute if needed.