2022-11-08 22:06:29 -08:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2022-11-09 21:29:33 -08:00
|
|
|
from stator.models import StatorError
|
2022-11-08 22:06:29 -08:00
|
|
|
|
|
|
|
|
2022-11-09 21:29:33 -08:00
|
|
|
@admin.register(StatorError)
|
2022-11-08 22:06:29 -08:00
|
|
|
class DomainAdmin(admin.ModelAdmin):
|
2022-11-09 21:29:33 -08:00
|
|
|
list_display = [
|
|
|
|
"id",
|
|
|
|
"date",
|
|
|
|
"model_label",
|
|
|
|
"instance_pk",
|
2022-11-09 22:48:31 -08:00
|
|
|
"state",
|
2022-11-09 21:29:33 -08:00
|
|
|
"error",
|
|
|
|
]
|
|
|
|
ordering = ["-date"]
|