from django.contrib import admin

from timer import models


@admin.register(models.TimeRecord)
class TimeRecordAdmin(admin.ModelAdmin):
    list_display = ('timer_id', 'chip_id', 'time')
    search_fields = ('timer_id', 'chip_id')
    list_filter = ('timer_id', 'chip_id')
    list_display_links = ('timer_id', 'chip_id')
