summaryrefslogtreecommitdiff
path: root/mirrors/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-25 00:09:46 -0500
committerDan McGee <dan@archlinux.org>2012-04-25 00:09:46 -0500
commit20675141c340ea3d2d6d8305f8ba0950d3bf974c (patch)
tree97366ef62607f0caadd45481613d0db6fdb5e853 /mirrors/admin.py
parent116751e4bab183b3cca93ab13f7f4f21c752be4e (diff)
Add django_countries country code fields and population migrations
This adds these columns and attempts to populate them with data from our existing country column data. 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 e8c7e280..b7b9894c 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_old', 'active', 'public',
+ list_display = ('name', 'tier', 'country', 'active', 'public',
'isos', 'admin_email')
- list_filter = ('tier', 'active', 'public', 'country_old')
+ list_filter = ('tier', 'active', 'public', 'country')
search_fields = ('name',)
inlines = [
MirrorUrlInlineAdmin,