summaryrefslogtreecommitdiffstats
path: root/mirrors
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-03 22:00:32 +0100
committerDan McGee <dan@archlinux.org>2011-03-03 22:00:36 +0100
commitf29700ce67ad323e8c68dacd776cf3e991721104 (patch)
tree76f5a47caccb4a603dbaa892781457a961f67ece /mirrors
parent8b77efbfabfb3d65b0400e123025c02346454214 (diff)
downloadarchweb-f29700ce67ad323e8c68dacd776cf3e991721104.tar.gz
archweb-f29700ce67ad323e8c68dacd776cf3e991721104.tar.xz
Add ordering to mirror protocols
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors')
-rw-r--r--mirrors/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrors/models.py b/mirrors/models.py
index 7c26989..401821a 100644
--- a/mirrors/models.py
+++ b/mirrors/models.py
@@ -51,6 +51,7 @@ class MirrorProtocol(models.Model):
class Meta:
verbose_name = 'Mirror Protocol'
+ ordering = ('protocol',)
class MirrorUrl(models.Model):
url = models.CharField(max_length=255)