Skip to content

Commit

Permalink
fix missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
un33k committed Aug 18, 2018
1 parent 817dd8e commit ae10df4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions countryware/country.py
@@ -1,4 +1,5 @@
import locale
import functools

from django.utils import translation
from django.utils.translation import ugettext as _
Expand Down
6 changes: 3 additions & 3 deletions countryware/defaults.py
@@ -1,7 +1,7 @@
from django.conf import settings

# http://xml.coverpages.org/country3166.html
ALL_COUNTRY_CODES = getattr(settings, 'ALL_COUNTRY_CODES', [
ALL_COUNTRY_CODES = getattr(settings, 'ALL_COUNTRY_CODES', (
"AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO",
"AQ", "AR", "AS", "AT", "AU", "AW", "AZ", "BA",
"BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ",
Expand Down Expand Up @@ -31,6 +31,6 @@
"TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US",
"UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN",
"VU", "WF", "WS", "YE", "YT", "ZA", "ZM", "ZW"
])
))

PRIORITY_COUNTRY_CODES = getattr(settings, 'PRIORITY_COUNTRY_CODES', [])
PRIORITY_COUNTRY_CODES = getattr(settings, 'PRIORITY_COUNTRY_CODES', ())

0 comments on commit ae10df4

Please sign in to comment.