from django.contrib import admin from .models import LogSource class LogSourceAdmin(admin.ModelAdmin): list_display = ("name", "slug", "hidden") admin.site.register(LogSource, LogSourceAdmin)