From e81d3c100c499c26c25bf753897e6fc70d2bb13a Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Mon, 17 Feb 2020 06:22:46 -0800 Subject: [PATCH] Fix linting issues --- core/admin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/admin.py b/core/admin.py index 506114b9..af9cfe40 100644 --- a/core/admin.py +++ b/core/admin.py @@ -15,7 +15,7 @@ class ImportExportResourceBase(resources.ModelResource): attribute='child__first_name', readonly=True) child_last_name = fields.Field(attribute='child__last_name', readonly=True) - + class ChildImportExportResource(resources.ModelResource): class Meta: model = models.Child @@ -39,7 +39,8 @@ class DiaperChangeImportExportResource(ImportExportResourceBase): @admin.register(models.DiaperChange) -class DiaperChangeAdmin(ImportExportMixin, ExportActionMixin, admin.ModelAdmin): +class DiaperChangeAdmin(ImportExportMixin, ExportActionMixin, + admin.ModelAdmin): list_display = ('child', 'time', 'wet', 'solid', 'color') list_filter = ('child', 'wet', 'solid', 'color') search_fields = ('child__first_name', 'child__last_name',)