fossy: Add date hierarchy in admin

This commit is contained in:
Ben Sturmfels 2024-02-27 19:09:48 +11:00
parent 6c24b00fe3
commit af83b40af2
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -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'