Vardhan Mahajan
Vardhan Mahajan

Reputation: 113

exporting the data to an excel sheet after being filtered on the admin panel?

so, after i filter information, is there a way I can export that filtered list as an excel sheet? I would prefer to have a button that you can click in the admin page to just export all the info as an excel sheet that is visible currently in the panel.

If this is too confusing please ask more question, I would be happy to help you help me!

my list filters :

    list_filter = ('Class','Age',)

Upvotes: 0

Views: 2230

Answers (1)

Alex Anadon
Alex Anadon

Reputation: 99

You can use this external library.

https://django-import-export.readthedocs.io/en/latest/

Export on excel the filtered view in admin site enter image description here

Upvotes: 1

Related Questions