From 20899d59c078a879646dd689cf5795ebbc8b91df Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 23 Mar 2012 19:39:30 -0500 Subject: Add date_hierarchy for releng ISOs in admin Signed-off-by: Dan McGee --- releng/admin.py | 1 + 1 file changed, 1 insertion(+) (limited to 'releng') diff --git a/releng/admin.py b/releng/admin.py index e1411b8..4275500 100644 --- a/releng/admin.py +++ b/releng/admin.py @@ -7,6 +7,7 @@ from .models import (Architecture, BootType, Bootloader, ClockChoice, class IsoAdmin(admin.ModelAdmin): list_display = ('name', 'created', 'active', 'removed') list_filter = ('active', 'created') + date_hierarchy = 'created' class TestAdmin(admin.ModelAdmin): list_display = ('user_name', 'user_email', 'created', 'ip_address', -- cgit v1.2.3-24-g4f1b