summaryrefslogtreecommitdiff
path: root/mirrors/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-03 15:00:32 -0600
committerDan McGee <dan@archlinux.org>2011-03-03 15:00:36 -0600
commitf29700ce67ad323e8c68dacd776cf3e991721104 (patch)
tree76f5a47caccb4a603dbaa892781457a961f67ece /mirrors/models.py
parent8b77efbfabfb3d65b0400e123025c02346454214 (diff)
Add ordering to mirror protocols
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 7c269898..401821a8 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)