diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-22 23:42:06 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-22 23:42:06 +0200 |
commit | c5b370f432215eb69dabd6bcb911b6429b16447a (patch) | |
tree | 10adf19cd9a3f6bb3f92d850023e4ef77e94185a /releng | |
parent | 60738969375fc72ff254517107ce53e14b068e24 (diff) | |
download | archweb-c5b370f432215eb69dabd6bcb911b6429b16447a.tar.gz archweb-c5b370f432215eb69dabd6bcb911b6429b16447a.tar.xz |
Admin setup tweaks
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'releng')
-rw-r--r-- | releng/admin.py | 4 | ||||
-rw-r--r-- | releng/models.py | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/releng/admin.py b/releng/admin.py index be5e211..e1411b8 100644 --- a/releng/admin.py +++ b/releng/admin.py @@ -5,8 +5,8 @@ from .models import (Architecture, BootType, Bootloader, ClockChoice, Test) class IsoAdmin(admin.ModelAdmin): - list_display = ('name', 'created', 'active') - list_filter = ('active',) + list_display = ('name', 'created', 'active', 'removed') + list_filter = ('active', 'created') class TestAdmin(admin.ModelAdmin): list_display = ('user_name', 'user_email', 'created', 'ip_address', diff --git a/releng/models.py b/releng/models.py index a958288..5618776 100644 --- a/releng/models.py +++ b/releng/models.py @@ -29,11 +29,15 @@ class Iso(models.Model): def __unicode__(self): return self.name + class Meta: + verbose_name = 'ISO' + class Architecture(IsoOption): pass class IsoType(IsoOption): - pass + class Meta: + verbose_name = 'ISO type' class BootType(IsoOption): pass |