summaryrefslogtreecommitdiff
path: root/program/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'program/admin.py')
-rw-r--r--program/admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/admin.py b/program/admin.py
index 406d73f..1323697 100644
--- a/program/admin.py
+++ b/program/admin.py
@@ -60,6 +60,7 @@ class TimeSlotInline(admin.TabularInline):
model = TimeSlot
ordering = ('-end',)
+
class ProgramSlotAdmin(admin.ModelAdmin):
actions = ('renew',)
inlines = (TimeSlotInline,)
@@ -86,6 +87,7 @@ class ProgramSlotInline(admin.TabularInline):
model = ProgramSlot
ordering = ('-until',)
+
class ShowAdmin(admin.ModelAdmin):
filter_horizontal = ('hosts', 'owners', 'musicfocus', 'showinformation', 'showtopic')
inlines = (ProgramSlotInline,)