takahe/core/admin.py

9 lines
181 B
Python
Raw Normal View History

from django.contrib import admin
from core.models import Config
@admin.register(Config)
class ConfigAdmin(admin.ModelAdmin):
list_display = ["id", "key", "user", "identity"]