khaganat-web/chat/admin.py
Rodolphe Breard 5e7b176e39 Add a webchat
2019-07-23 15:16:03 +02:00

7 lines
198 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)