Skip to content
Snippets Groups Projects
Commit 43889586 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

added short_description to list header of program slots.

parent b18d1c7c
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,7 @@ class ProgramSlotAdmin(admin.ModelAdmin): ...@@ -85,6 +85,7 @@ class ProgramSlotAdmin(admin.ModelAdmin):
def get_show_name(self, obj): def get_show_name(self, obj):
return obj.show.name return obj.show.name
get_show_name.admin_order_field = 'show' get_show_name.admin_order_field = 'show'
get_show_name.short_description = "Show"
class ProgramSlotInline(admin.TabularInline): class ProgramSlotInline(admin.TabularInline):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment