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