python - Export button is not visible with django-import-export package -
i trying use django-import-export module in admin , here settings
admin.py
from import_export.admin import importexportmixin, importmixin, exportactionmodeladmin, importexportactionmodeladmin  class registrationadmin(importexportactionmodeladmin):     list_display = ('user', 'activation_key_expired')     raw_id_fields = ['user']     search_fields = ('user__username', 'user__first_name', 'user__last_name')  admin.site.register(registrationprofile, registrationadmin)   with above code, can able see import button in admin below
but can't able see export option, what's problem missing here ?
i have seen ticket export button permission here https://github.com/django-import-export/django-import-export/issues/38 ? can please let me know need done in order export appear ?
by way using django suit admin theme
you need use importexportmodeladmin
importexportactionmodeladmin adds export list of things can selected items (see dropdown in screenshot)
docs importexportactionmodeladmin state
export functionality implemented admin action.

Comments
Post a Comment