1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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", "state", "error", ] ordering = ["-date"]