Lint fix v1
This commit is contained in:
@@ -6,24 +6,24 @@ from .models import Game, GameEvent
|
||||
@admin.register(Game)
|
||||
class GameAdmin(admin.ModelAdmin):
|
||||
list_display = (
|
||||
"id",
|
||||
"created_at",
|
||||
"modified_at",
|
||||
"rows",
|
||||
"cols",
|
||||
"mines",
|
||||
"win",
|
||||
"status",
|
||||
'id',
|
||||
'created_at',
|
||||
'modified_at',
|
||||
'rows',
|
||||
'cols',
|
||||
'mines',
|
||||
'win',
|
||||
'status',
|
||||
)
|
||||
|
||||
list_filter = (
|
||||
"win",
|
||||
"status",
|
||||
'win',
|
||||
'status',
|
||||
)
|
||||
|
||||
|
||||
@admin.register(GameEvent)
|
||||
class GameEventAdmin(admin.ModelAdmin):
|
||||
list_display = ("id", "created_at", "game", "type", "row", "col")
|
||||
list_display = ('id', 'created_at', 'game', 'type', 'row', 'col')
|
||||
|
||||
list_filter = ("type",)
|
||||
list_filter = ('type',)
|
||||
|
||||
Reference in New Issue
Block a user