forked from rc/aircox
code quality
This commit is contained in:
@ -2,12 +2,10 @@ from django.contrib import admin
|
||||
|
||||
from ..models import Log
|
||||
|
||||
|
||||
__all__ = ['LogAdmin']
|
||||
__all__ = ["LogAdmin"]
|
||||
|
||||
|
||||
@admin.register(Log)
|
||||
class LogAdmin(admin.ModelAdmin):
|
||||
list_display = ['id', 'date', 'station', 'source', 'type', 'comment']
|
||||
list_filter = ['date', 'source', 'station']
|
||||
|
||||
list_display = ["id", "date", "station", "source", "type", "comment"]
|
||||
list_filter = ["date", "source", "station"]
|
||||
|
Reference in New Issue
Block a user