Branch master was renamed to main.

khaganat-web/chat/admin.py

10 lines
200 B
Python
Raw Permalink Normal View History

2019-07-23 13:16:03 +00:00
from django.contrib import admin
from .models import LogSource
2019-07-24 17:07:41 +00:00
2019-07-23 13:16:03 +00:00
class LogSourceAdmin(admin.ModelAdmin):
2019-07-24 17:07:41 +00:00
list_display = ("name", "slug", "hidden")
2019-07-23 13:16:03 +00:00
admin.site.register(LogSource, LogSourceAdmin)