From 116751e4bab183b3cca93ab13f7f4f21c752be4e Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 24 Apr 2012 23:22:23 -0500 Subject: 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 --- public/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/views.py b/public/views.py index a85d738..e149d92 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) -- cgit v1.2.3-24-g4f1b