feat: clock + place games
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from .models import ClockTimer, Press
|
||||
|
||||
|
||||
@admin.register(ClockTimer)
|
||||
class ClockTimerAdmin(admin.ModelAdmin):
|
||||
list_display = ("event", "end_time", "initial_duration")
|
||||
list_editable = ("initial_duration",)
|
||||
list_filter = ("event",)
|
||||
|
||||
|
||||
@admin.register(Press)
|
||||
class PressAdmin(admin.ModelAdmin):
|
||||
list_display = (
|
||||
"id",
|
||||
"event",
|
||||
"player",
|
||||
"pressed_at",
|
||||
"remaining_before_press",
|
||||
"seconds_added",
|
||||
)
|
||||
list_filter = ("event", "player")
|
||||
Reference in New Issue
Block a user