start app controllers that aims to replace liquidsoap on long term, and be more generic and reusable

This commit is contained in:
bkfox
2016-07-12 11:11:21 +02:00
parent 37b807b403
commit 0d75f65ed4
12 changed files with 988 additions and 87 deletions

View File

@ -147,12 +147,6 @@ class DiffusionAdmin(admin.ModelAdmin):
return qs.exclude(type = Diffusion.Type.unconfirmed)
@admin.register(Log)
class LogAdmin(admin.ModelAdmin):
list_display = ['id', 'date', 'source', 'comment', 'related_object']
list_filter = ['date', 'source', 'related_type']
@admin.register(Schedule)
class ScheduleAdmin(admin.ModelAdmin):
def program_name(self, obj):