2022-11-08 22:06:29 -08:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2022-12-15 11:26:17 -08:00
|
|
|
from stator.models import Stats
|
2022-11-08 22:06:29 -08:00
|
|
|
|
|
|
|
|
2022-12-15 11:26:17 -08:00
|
|
|
@admin.register(Stats)
|
2022-11-08 22:06:29 -08:00
|
|
|
class DomainAdmin(admin.ModelAdmin):
|
2022-11-09 21:29:33 -08:00
|
|
|
list_display = [
|
|
|
|
"model_label",
|
2022-12-15 11:26:17 -08:00
|
|
|
"updated",
|
2022-11-09 21:29:33 -08:00
|
|
|
]
|
2022-12-15 11:26:17 -08:00
|
|
|
ordering = ["model_label"]
|
2022-11-27 16:16:09 -08:00
|
|
|
|
|
|
|
def has_add_permission(self, request, obj=None):
|
|
|
|
return False
|