From 43889586f9d4be5939b45cd0360081642f5aebb6 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Sun, 12 Jun 2016 18:23:28 +0200 Subject: added short_description to list header of program slots. 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): -- cgit v0.10.2