mirror of https://github.com/snachodog/mybuddy.git
Fix linting issue in admin with no space after comma.
This commit is contained in:
parent
a503d346ae
commit
f8d028563a
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue