summaryrefslogtreecommitdiff
path: root/main/admin.py
diff options
context:
space:
mode:
authorThayer Williams <thayerw@gmail.com>2010-03-16 11:19:58 -0700
committerDan McGee <dan@archlinux.org>2010-05-17 14:49:43 -0500
commit958bc6311392849d0bcbfe834dd95f2e49817ce8 (patch)
tree97d2d1aa4f5c5afb4938f7b29d0aff865f6f7c17 /main/admin.py
parentdd9f1e3e91db5ede16900fc9257f921b37538410 (diff)
Add alphabetical sorting to mirrorlists
Also unify the sorting at the model-level for donors and remove the now duplicate sorting in the admin for mirrors. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/admin.py')
-rw-r--r--main/admin.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/admin.py b/main/admin.py
index 0585e5c3..ec10d9cd 100644
--- a/main/admin.py
+++ b/main/admin.py
@@ -55,7 +55,6 @@ class MirrorAdmin(admin.ModelAdmin):
form = MirrorAdminForm
list_display = ('name', 'tier', 'country', 'active', 'public', 'isos', 'admin_email', 'supported_protocols')
list_filter = ('tier', 'country', 'active', 'public')
- ordering = ['country', 'name']
search_fields = ('name',)
inlines = [
MirrorUrlInlineAdmin,