From d9881962d34f3c03148d49f4f9d6e7641cff4bd7 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Mon, 21 Mar 2011 15:44:03 +0100 Subject: added date_hierarchy to Note admin. diff --git a/program/admin.py b/program/admin.py index dfe717c..d3712ef 100644 --- a/program/admin.py +++ b/program/admin.py @@ -19,7 +19,8 @@ class ShowTopicAdmin(admin.ModelAdmin): prepopulated_fields = {'slug': ('topic',)} class NoteAdmin(admin.ModelAdmin): - list_display = ('title', 'timeslot', 'status') + date_hierarchy = 'start' + list_display = ('title', 'show', 'status') list_filter = ('status',) ordering = ('timeslot',) -- cgit v0.10.2