Hello,
I'm Mohit Gupta. 3rd year engineering student. I just have a suggestion/idea which if implemented in Django it will be very helpful.
As I have faced difficulty in exporting Django admin model data to CSV.
I know there is a CLI-based command to export data into a json file format
"python manage.py dumpdata application_name --indent=1 > file.json". But I think it will be a bit difficult for users to remember this command and one loophole in this command is that it will pick all model data into a single file and it will be hectic to get the particular model data.
So my idea is if there is a button in the admin panel to export particular model data to a CSV file and download it, it will be very helpful for developers to analyze data from a CSV file rather than finding data of a particular model instance form a json file. This feature will also help data science enthusiasts, as they need CSV file for training-testing purposes.
Thank you,
Mohit Gupta