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

added date_hierarchy to Note admin.

parent f32b51cd
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,8 @@ class ShowTopicAdmin(admin.ModelAdmin): ...@@ -19,7 +19,8 @@ class ShowTopicAdmin(admin.ModelAdmin):
prepopulated_fields = {'slug': ('topic',)} prepopulated_fields = {'slug': ('topic',)}
class NoteAdmin(admin.ModelAdmin): class NoteAdmin(admin.ModelAdmin):
list_display = ('title', 'timeslot', 'status') date_hierarchy = 'start'
list_display = ('title', 'show', 'status')
list_filter = ('status',) list_filter = ('status',)
ordering = ('timeslot',) ordering = ('timeslot',)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment