thomst / django-admin-csvexport

A django-admin-action to export models as csv
BSD 3-Clause "New" or "Revised" License
17 stars 9 forks source link

FIle w/ no extension on windows, while correct on mac #4

Open DoMaT opened 3 years ago

DoMaT commented 3 years ago

Hi and thanks for this piece of development. I tried to use it and was successful on Mac, but it turned out that on Windows, the downloaded file has no extension. The downloaded file is "Download". Is there any way to force the file name?https://github.com/thomst/django-admin-csvexport/issues/new

thomst commented 3 years ago

Thanks for the hint. This issue should be fixed with 1.10. The filename should be 'appname.modelname.csv' now. Is this working for you?

DoMaT commented 3 years ago

Hi, Thanks for reaching out. I have switched to using different plugin that has already had the support for setting the file name: https://django-import-export.readthedocs.io/en/latest/ And as I didn't need that many features as your plugin has, like choosing the exact fields to export, I didn't lose any functionality :) Kind regards, Mateusz D.

śr., 23 cze 2021 o 11:24 Thomas Leichtfuß @.***> napisał(a):

Thanks for the hint. This issue should be fixed with 1.10. The filename should be 'appname.modelname.csv' now. Is this working for you?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thomst/django-admin-csvexport/issues/4#issuecomment-866678623, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMI4JTS6QEQZATKCYI47G3TUGR3NANCNFSM43TEKNOA .