diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/admin.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/admin.py b/program/admin.py index cffb65e..665ece2 100644 --- a/program/admin.py +++ b/program/admin.py @@ -85,6 +85,7 @@ class ProgramSlotAdmin(admin.ModelAdmin): def get_show_name(self, obj): return obj.show.name get_show_name.admin_order_field = 'show' + get_show_name.short_description = "Show" class ProgramSlotInline(admin.TabularInline): |