mirror of https://github.com/snachodog/mybuddy.git
Fix linting issues
This commit is contained in:
parent
796ba1ae7f
commit
e81d3c100c
|
@ -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',)
|
||||
|
|
Loading…
Reference in New Issue