From 43518c7747f3a1b505b599bb2addcd3c5fdc6620 Mon Sep 17 00:00:00 2001 From: Manel Clos Date: Fri, 19 Feb 2016 09:36:49 +0100 Subject: [PATCH] fix typo --- import_export/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/import_export/admin.py b/import_export/admin.py index 703b629c1..b0c9c513b 100644 --- a/import_export/admin.py +++ b/import_export/admin.py @@ -264,7 +264,7 @@ class ExportMixin(ImportExportMixinBase): change_list_template = 'admin/import_export/change_list_export.html' #: template for export view export_template_name = 'admin/import_export/export.html' - #: available import formats + #: available export formats formats = DEFAULT_FORMATS #: export data encoding to_encoding = "utf-8" @@ -292,7 +292,7 @@ def get_export_resource_class(self): def get_export_formats(self): """ - Returns available import formats. + Returns available export formats. """ return [f for f in self.formats if f().can_export()]