From 7281211045023c289900d3b738002f1093254e85 Mon Sep 17 00:00:00 2001 From: Colby Date: Fri, 1 Dec 2023 16:27:24 -0600 Subject: [PATCH] Update admin.py (#1532) Co-authored-by: Staxly --- errata/admin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/errata/admin.py b/errata/admin.py index 3f24e0ac7..ac14d06c8 100644 --- a/errata/admin.py +++ b/errata/admin.py @@ -32,13 +32,13 @@ class Meta: class CustomExportResource(resources.ModelResource): location = Field(attribute='location', column_name='Location') detail = Field(attribute='detail', column_name='Detail') - resolution = Field(attribute='resolution', column_name='Resolution') + resolution_notes = Field(attribute='resolution_notes', column_name='Resolution Notes') error_type = Field(attribute='error_type', column_name='Error Type') class Meta: model = Errata - fields = ('location', 'detail', 'resolution', 'error_type') - export_order = ('location', 'detail', 'resolution', 'error_type') + fields = ('location', 'detail', 'resolution_notes', 'error_type') + export_order = ('location', 'detail', 'resolution_notes', 'error_type') def custom_export_action(modeladmin, request, queryset): resource = CustomExportResource()