takahe/stator/admin.py

16 lines
303 B
Python
Raw Normal View History

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