File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,27 @@ Admin integration is achived by subclassing
249
249
250
250
A screenshot of the confirm import view.
251
251
252
+ |
253
+
254
+ Another approach to exporting data is by subclassing
255
+ ``ImportExportActionModelAdmin `` which implements export as an admin action.
256
+ As a result it's possible to export a list of objects selected on the change
257
+ list page::
258
+
259
+ from import_export.admin import ImportExportActionModelAdmin
260
+
261
+
262
+ class BookAdmin(ImportExportActionModelAdmin):
263
+ resource_class = BookResource
264
+ pass
265
+
266
+
267
+ .. figure :: _static/images/django-import-export-action.png
268
+
269
+ A screenshot of the change view with Import and Export as an admin action.
270
+
271
+ |
272
+
252
273
.. seealso ::
253
274
254
275
:doc: `/api_admin `
You can’t perform that action at this time.
0 commit comments