summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-24 23:22:23 -0500
committerDan McGee <dan@archlinux.org>2012-04-25 00:00:36 -0500
commit116751e4bab183b3cca93ab13f7f4f21c752be4e (patch)
tree4eff5a95519b85352e92516f33bf1897dc90a8a8 /public
parent206000df736fde75a49c3178a8522d17f30a955e (diff)
Rename mirror country fields to country_old in prep for normalization
We're going to move to using ISO 2 character codes via django countries, so start by moving the old data out of the way first. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'public')
-rw-r--r--public/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views.py b/public/views.py
index a85d7389..e149d921 100644
--- a/public/views.py
+++ b/public/views.py
@@ -75,7 +75,7 @@ def download(request):
'releng_pxeboot_url': settings.PXEBOOT_URL,
}
return list_detail.object_list(request,
- qset.order_by('mirror__country', 'mirror__name', 'protocol'),
+ qset.order_by('mirror__country_old', 'mirror__name', 'protocol'),
template_name="public/download.html",
template_object_name="mirror_url",
extra_context=context)