fossy: Add date hierarchy in admin
This commit is contained in:
parent
6c24b00fe3
commit
af83b40af2
1 changed files with 1 additions and 0 deletions
|
@ -6,3 +6,4 @@ from .models import CommunityTrackProposal
|
||||||
@admin.register(CommunityTrackProposal)
|
@admin.register(CommunityTrackProposal)
|
||||||
class CommunityTrackProposalAdmin(admin.ModelAdmin):
|
class CommunityTrackProposalAdmin(admin.ModelAdmin):
|
||||||
list_display = ['created_time', 'title', 'primary_proposer']
|
list_display = ['created_time', 'title', 'primary_proposer']
|
||||||
|
date_hierarchy = 'created_time'
|
||||||
|
|
Loading…
Reference in a new issue