I'm using the great django-import-export addition.
We standard have 2 options import and export. I would like to have an extra option to export selected records only. Would be a nice addition. How can I achieve this?
I use the standard configuration in the Django admin.
Yes this is possible.
To do this, simply declare an Admin instance which inherits from
ExportActionModelAdmin:Then register this Admin:
Note that the above example refers specifically to the Example app, you'll have to modify to refer to your own Model instances.