Branch master was renamed to main.

khaganat-web/chat/admin.py
2019-07-24 19:07:41 +02:00

9 lines
200 B
Python

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