takahe/stator/admin.py
2022-11-09 22:29:49 -07:00

17 lines
327 B
Python

from django.contrib import admin
from stator.models import StatorError
@admin.register(StatorError)
class DomainAdmin(admin.ModelAdmin):
list_display = [
"id",
"date",
"model_label",
"instance_pk",
"from_state",
"to_state",
"error",
]
ordering = ["-date"]