From ffa9a3ca80dad541344571aa08b96372fd11ecaa Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 2 Apr 2015 08:11:14 -0500 Subject: Update to latest django-countries Signed-off-by: Dan McGee --- requirements.txt | 2 +- requirements_prod.txt | 2 +- settings.py | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index c58422f7..42e0a6a8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ Jinja2==2.7.3 Markdown==2.6.1 MarkupSafe==0.23 bencode==1.0 -django-countries==3.2 +django-countries==3.3 django-jinja==1.3.0 jsmin==2.1.1 pgpdump==1.5 diff --git a/requirements_prod.txt b/requirements_prod.txt index 087586fa..b0d7cfec 100644 --- a/requirements_prod.txt +++ b/requirements_prod.txt @@ -5,7 +5,7 @@ Jinja2==2.7.3 Markdown==2.6.1 MarkupSafe==0.23 bencode==1.0 -django-countries==3.2 +django-countries==3.3 django-jinja==1.3.0 jsmin==2.1.1 pgpdump==1.5 diff --git a/settings.py b/settings.py index 3f0f8e69..0423541c 100644 --- a/settings.py +++ b/settings.py @@ -151,7 +151,7 @@ 'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True, - }, + } }, } @@ -174,6 +174,12 @@ 'http://tracker.archlinux.org:6969/announce', ) +# Shorten some names just a bit +COUNTRIES_OVERRIDE = { + 'GB': 'United Kingdom', + 'US': 'United States', +} + ## Import local settings from local_settings import * -- cgit v1.2.3-54-g00ecf