mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-14 03:11:46 +00:00
16 lines
302 B
Python
16 lines
302 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",
|
|
"state",
|
|
"error",
|
|
]
|
|
ordering = ["-date"]
|