diff options
author | Dan McGee <dan@archlinux.org> | 2014-11-02 09:42:52 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-11-02 09:42:52 -0600 |
commit | 0c72812fde64f3ed039d807b9e8b3914960b7d6b (patch) | |
tree | 64f5db63457bf74438121df98f45a67ecacd181d /settings.py | |
parent | e609552c59d05a41b98e786047d1ff02c1e3ab10 (diff) |
Mirror view tweaks and enhancements
* Add country column to main mirror list overview page. Most mirrors are
strictly in one country, so do a little magic to show the right
country if it makes sense.
* Use new way of getting country names so we respect the overrides now
present in the django_countries package.
* Make the country selection box on the mirrorlist generation page a lot
taller by default so it is easier to use.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/settings.py b/settings.py index ba6c68ee..60fe71bc 100644 --- a/settings.py +++ b/settings.py @@ -175,6 +175,11 @@ TORRENT_TRACKERS = ( 'http://tracker.archlinux.org:6969/announce', ) +# Country name overrides for display purposes +COUNTRIES_OVERRIDE = { + 'MK': 'Macedonia', +} + ## Import local settings from local_settings import * |