from django.contrib import admin

from .models import Caliber


@admin.register(Caliber)
class CaliberAdmin(admin.ModelAdmin):
    list_display = ['name', 'short_name', 'status', 'submitted_by']
    list_filter = ['status']
    search_fields = ['name', 'short_name']
    readonly_fields = ['submitted_by', 'reviewed_by', 'reviewed_at', 'created_at', 'updated_at']
