From f8d028563ae4278977060a3c7d27098159d6a3a9 Mon Sep 17 00:00:00 2001 From: Isaac Bythewood Date: Sat, 18 Nov 2017 21:06:37 -0500 Subject: [PATCH] Fix linting issue in admin with no space after comma. --- core/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/admin.py b/core/admin.py index 398fc938..e75e411b 100644 --- a/core/admin.py +++ b/core/admin.py @@ -11,8 +11,8 @@ from core import models class ChildAdmin(admin.ModelAdmin): list_display = ('first_name', 'last_name', 'birth_date', 'slug') list_filter = ('last_name',) - search_fields = ('first_name', 'last_name', 'birth_date',) - fields = ['first_name', 'last_name', 'birth_date',] + search_fields = ('first_name', 'last_name', 'birth_date') + fields = ['first_name', 'last_name', 'birth_date'] if settings.ALLOW_UPLOADS: fields.append('picture')