Fix linting issue in admin with no space after comma.

This commit is contained in:
Isaac Bythewood 2017-11-18 21:06:37 -05:00
parent a503d346ae
commit f8d028563a
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ from core import models
class ChildAdmin(admin.ModelAdmin): class ChildAdmin(admin.ModelAdmin):
list_display = ('first_name', 'last_name', 'birth_date', 'slug') list_display = ('first_name', 'last_name', 'birth_date', 'slug')
list_filter = ('last_name',) list_filter = ('last_name',)
search_fields = ('first_name', 'last_name', 'birth_date',) search_fields = ('first_name', 'last_name', 'birth_date')
fields = ['first_name', 'last_name', 'birth_date',] fields = ['first_name', 'last_name', 'birth_date']
if settings.ALLOW_UPLOADS: if settings.ALLOW_UPLOADS:
fields.append('picture') fields.append('picture')