diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-21 14:44:03 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-21 14:44:03 (GMT) |
commit | d9881962d34f3c03148d49f4f9d6e7641cff4bd7 (patch) | |
tree | 3a57ef4e6707a78eaa74b5deb8c9c79b23d795fc /program | |
parent | f32b51cdc9dc120a41a120e335a343493d24c47f (diff) |
added date_hierarchy to Note admin.
Diffstat (limited to 'program')
-rw-r--r-- | program/admin.py | 3 |
1 files changed, 2 insertions, 1 deletions
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',) |