summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2016-06-12 16:23:28 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2016-06-12 16:23:28 (GMT)
commit43889586f9d4be5939b45cd0360081642f5aebb6 (patch)
treee809273d90a7bfdbb47dd85e4becd215930e1fd5
parentb18d1c7c5ad1f8e2c68c970a88b2be15124ed8d0 (diff)
added short_description to list header of program slots.
-rw-r--r--program/admin.py1
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):