summaryrefslogtreecommitdiff
path: root/program/admin.py
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-12-28 15:11:33 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-12-28 15:11:33 (GMT)
commitb117c969ea17a009545aa70765a86e6c38acc5fb (patch)
tree79891b07b5330274e73658287a0c72be602e2fa7 /program/admin.py
parentb92ef203930795f69dd69770fb1f913a14eebfdc (diff)
added save on top to Program Slot admin
Diffstat (limited to 'program/admin.py')
-rw-r--r--program/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/admin.py b/program/admin.py
index 70dc53e..b50e14f 100644
--- a/program/admin.py
+++ b/program/admin.py
@@ -51,6 +51,7 @@ class ProgramSlotAdmin(admin.ModelAdmin):
list_display = ('show', 'byweekday', 'rrule', 'tstart', 'tend', 'dstart', 'until', 'timeslot_count')
list_filter = ('byweekday', 'rrule', 'is_repetition')
ordering = ('byweekday', 'dstart')
+ save_on_top = True
search_fields = ('show__name',)
class ProgramSlotInline(admin.TabularInline):