summaryrefslogtreecommitdiffstats
path: root/stator/admin.py
blob: 790fc38def1dc51e94f471ed7b394bedbf7f9e47 (plain)
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"]