diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-06-12 16:23:28 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-06-12 16:23:28 (GMT) |
commit | 43889586f9d4be5939b45cd0360081642f5aebb6 (patch) | |
tree | e809273d90a7bfdbb47dd85e4becd215930e1fd5 /program | |
parent | b18d1c7c5ad1f8e2c68c970a88b2be15124ed8d0 (diff) |
added short_description to list header of program slots.
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): |