summaryrefslogtreecommitdiff
path: root/mirrors/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-06-01 09:21:42 -0500
committerDan McGee <dan@archlinux.org>2013-06-01 14:53:17 -0500
commit49bf4988794c39095a9513c32ea971d5bcf5d33d (patch)
treed1ec60c17e9416762b5e7048f8f3a8b06e4e332c /mirrors/models.py
parent31bc66e23c2ea0467d2201b86536f161fd1f32ca (diff)
Ensure only active mirror URLs are listed
This fixes things up on the download page as well as the individual mirror details page. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/models.py')
-rw-r--r--mirrors/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrors/models.py b/mirrors/models.py
index 975ead39..da3d8c0d 100644
--- a/mirrors/models.py
+++ b/mirrors/models.py
@@ -116,6 +116,7 @@ class MirrorRsync(models.Model):
class Meta:
verbose_name = 'mirror rsync IP'
+ ordering = ('ip',)
class CheckLocation(models.Model):