diff options
author | Dan McGee <dan@archlinux.org> | 2012-05-18 20:42:05 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-05-18 21:36:05 -0500 |
commit | 06f1bb99617e532f6b39c135370de79be7c270fa (patch) | |
tree | 10277bc94b801bdd20e9af9ad0302bc7635cd2a7 /mirrors/admin.py | |
parent | cf67e7952396121d3f7190195d812ea3f5fc7dcf (diff) |
mirrors: add an alternate_email column
We have a lot of these in the freeform text area in the mirror notes;
attempt to make this data usable as necessary if we want to do some sort
of mirror notification automation in the future.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/admin.py')
-rw-r--r-- | mirrors/admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mirrors/admin.py b/mirrors/admin.py index b7b9894c..65fff368 100644 --- a/mirrors/admin.py +++ b/mirrors/admin.py @@ -63,9 +63,9 @@ class MirrorAdminForm(forms.ModelForm): class MirrorAdmin(admin.ModelAdmin): form = MirrorAdminForm list_display = ('name', 'tier', 'country', 'active', 'public', - 'isos', 'admin_email') + 'isos', 'admin_email', 'alternate_email') list_filter = ('tier', 'active', 'public', 'country') - search_fields = ('name',) + search_fields = ('name', 'admin_email', 'alternate_email') inlines = [ MirrorUrlInlineAdmin, MirrorRsyncInlineAdmin, |