jazzband / django-downloadview

Serve files with Django.
https://django-downloadview.readthedocs.io
Other
381 stars 58 forks source link

Replace VirtualDownloadFile by Django's ContentFile #38

Closed benoitbryon closed 10 years ago

benoitbryon commented 10 years ago

See https://docs.djangoproject.com/en/1.5/ref/files/file/#the-contentfile-class Looks like django-downloadview's files.VirtualFile could be replaced by Django's ContentFile.

benoitbryon commented 10 years ago

ContentFile is dedicated to text (string, unicode). It is not meant to support StringIO or StringIteratorIO. Let's keep VirtualFile => closing as wontfix.