summaryrefslogtreecommitdiffstats
path: root/mirrors/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-24 23:22:23 -0500
committerDan McGee <dan@archlinux.org>2012-04-25 00:00:36 -0500
commit116751e4bab183b3cca93ab13f7f4f21c752be4e (patch)
tree4eff5a95519b85352e92516f33bf1897dc90a8a8 /mirrors/admin.py
parent206000df736fde75a49c3178a8522d17f30a955e (diff)
downloadarchweb-116751e4bab183b3cca93ab13f7f4f21c752be4e.tar.gz
archweb-116751e4bab183b3cca93ab13f7f4f21c752be4e.zip
Rename mirror country fields to country_old in prep for normalization
We're going to move to using ISO 2 character codes via django countries, so start by moving the old data out of the way first. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/admin.py')
-rw-r--r--mirrors/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mirrors/admin.py b/mirrors/admin.py
index a2b59b41..e8c7e280 100644
--- a/mirrors/admin.py
+++ b/mirrors/admin.py
@@ -62,9 +62,9 @@ class MirrorAdminForm(forms.ModelForm):
class MirrorAdmin(admin.ModelAdmin):
form = MirrorAdminForm
- list_display = ('name', 'tier', 'country', 'active', 'public',
+ list_display = ('name', 'tier', 'country_old', 'active', 'public',
'isos', 'admin_email')
- list_filter = ('tier', 'active', 'public', 'country')
+ list_filter = ('tier', 'active', 'public', 'country_old')
search_fields = ('name',)
inlines = [
MirrorUrlInlineAdmin,