diff options
Diffstat (limited to 'releng')
-rw-r--r-- | releng/admin.py | 1 | ||||
-rw-r--r-- | releng/views.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/releng/admin.py b/releng/admin.py index e1411b84..42755002 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', diff --git a/releng/views.py b/releng/views.py index 2b3d0936..d8ea59f9 100644 --- a/releng/views.py +++ b/releng/views.py @@ -81,6 +81,7 @@ def calculate_option_overview(field_name): is_rollback = field_name.startswith('rollback_') option = { 'option': model, + 'field_name': field_name, 'name': model._meta.verbose_name, 'is_rollback': is_rollback, 'values': [] |