summaryrefslogtreecommitdiff
path: root/releng
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-12-12 17:42:33 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-12-12 17:42:33 -0500
commit8844fd0c6361d3a6ccd88647276e9af0e6cd64d2 (patch)
tree7615c29fe200a3c7be748d3d40ea35628ce9cd39 /releng
parentc0d6f0711c4760f08a6beb99818d075d7c993e2e (diff)
parentea87160c397fe1daf63851f0ed0be146bea79196 (diff)
Merge commit 'ea87160' (update)
Diffstat (limited to 'releng')
-rw-r--r--releng/admin.py1
-rw-r--r--releng/views.py1
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 e17a6e9c..007c8c84 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': []