diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-25 06:22:23 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-25 07:00:36 +0200 |
commit | 116751e4bab183b3cca93ab13f7f4f21c752be4e (patch) | |
tree | 4eff5a95519b85352e92516f33bf1897dc90a8a8 /public | |
parent | 206000df736fde75a49c3178a8522d17f30a955e (diff) | |
download | archweb-116751e4bab183b3cca93ab13f7f4f21c752be4e.tar.gz archweb-116751e4bab183b3cca93ab13f7f4f21c752be4e.tar.xz |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |