app/soc/models/countries.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Fri, 25 Sep 2009 09:07:35 +0200
changeset 2975 e73c0eb59022
parent 2862 27971a13089f
permissions -rw-r--r--
Add missing blank line in soc.models.survey_record module.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     1
#!/usr/bin/python2.5
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     2
#
1308
35b75ffcbb37 Partially reverted "Update the copyright notice for 2009."
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1307
diff changeset
     3
# Copyright 2008 the Melange authors.
37
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     4
#
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     5
# Licensed under the Apache License, Version 2.0 (the "License");
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     6
# you may not use this file except in compliance with the License.
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     7
# You may obtain a copy of the License at
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     8
#
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     9
#   http://www.apache.org/licenses/LICENSE-2.0
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    10
#
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    11
# Unless required by applicable law or agreed to in writing, software
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    12
# distributed under the License is distributed on an "AS IS" BASIS,
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    13
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    14
# See the License for the specific language governing permissions and
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    15
# limitations under the License.
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    16
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    17
"""Set of known *current* country and territory names.
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    18
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    19
Legacy (duplicate) names for some countries have been removed from the
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    20
original list.  Also missing are the following U.S. OFAC embargoed and
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    21
Commerce Department export-controlled countries:
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    22
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    23
  Cuba, Iran, Myanmar (formerly Burma), North Korea, Sudan, Syria
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    24
"""
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    25
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    26
__authors__ = [
2735
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    27
  '"Daniel Hans" <daniel.m.hans@gmail.com>',
2248
094785ac13a5 Added dictionary mapping country names to their CCTLD in countries model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1308
diff changeset
    28
  '"Madhusudan.C.S" <madhusudancs@gmail.com>',
37
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    29
  '"Todd Larsen" <tlarsen@google.com>',
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    30
]
e3491f7e8aff List of countries and territories used in addresses.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    31
2735
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    32
COUNTRY_INFO = {
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    33
    "Afghanistan, Islamic State of": ('.af', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    34
    "Albania": ('.al', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    35
    "Algeria": ('.dz', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    36
    "American Samoa": ('.as', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    37
    "Andorra, Principality of": ('.ad', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    38
    "Angola": ('.ao', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    39
    "Anguilla": ('.ai', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    40
    "Antarctica": ('.aq', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    41
    "Antigua and Barbuda": ('.ag', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    42
    "Argentina": ('.ar', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    43
    "Armenia": ('.am', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    44
    "Aruba": ('.aw', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    45
    "Australia": ('.au', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    46
    "Austria": ('.at', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    47
    "Azerbaidjan": ('.az', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    48
    "Bahamas": ('.bs', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    49
    "Bahrain": ('.bh', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    50
    "Bangladesh": ('.bd', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    51
    "Barbados": ('.bb', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    52
    "Belarus": ('.by', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    53
    "Belgium": ('.be', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    54
    "Belize": ('.bz', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    55
    "Benin": ('.bj', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    56
    "Bermuda": ('.bm', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    57
    "Bhutan": ('.bt', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    58
    "Bolivia": ('.bo', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    59
    "Bosnia-Herzegovina": ('.ba', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    60
    "Botswana": ('.bw', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    61
    "Bouvet Island": ('.bv', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    62
    "Brazil": ('.br', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    63
    "British Indian Ocean Territory": ('.io', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    64
    "Brunei Darussalam": ('.bn', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    65
    "Bulgaria": ('', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    66
    "Burkina Faso": ('.bg', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    67
    "Burundi": ('.bi', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    68
    "Cambodia, Kingdom of": ('.kh', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    69
    "Cameroon": ('.cm', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    70
    "Canada": ('.ca', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    71
    "Cape Verde": ('.cv', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    72
    "Cayman Islands": ('.ky', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    73
    "Central African Republic": ('.cf', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    74
    "Chad": ('.td', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    75
    "Chile": ('.cl', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    76
    "China": ('.cn', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    77
    "Christmas Island": ('.cx', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    78
    "Cocos (Keeling) Islands": ('.cc', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    79
    "Colombia": ('.co', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    80
    "Comoros": ('.km', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    81
    "Congo": ('.cg', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    82
    "Congo, Democratic Republic of the": ('.cd', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    83
    "Cook Islands": ('.ck', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    84
    "Costa Rica": ('.cr', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    85
    "Croatia": ('.hr', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    86
    "Cyprus": ('.cy', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    87
    "Czech Republic": ('.cz', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    88
    "Denmark": ('.dk', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    89
    "Djibouti": ('.dj', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    90
    "Dominica": ('.dm', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    91
    "Dominican Republic": ('.do', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    92
    "East Timor": ('.tl', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    93
    "Ecuador": ('.ec', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    94
    "Egypt": ('.eg', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    95
    "El Salvador": ('.sv', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    96
    "Equatorial Guinea": ('.gq', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    97
    "Eritrea": ('.er', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    98
    "Estonia": ('.ee', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
    99
    "Ethiopia": ('.et', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   100
    "Falkland Islands": ('.fk', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   101
    "Faroe Islands": ('.fo', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   102
    "Fiji": ('.fj', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   103
    "Finland": ('.fi', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   104
    "France": ('.fr', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   105
    "French Guyana": ('.gf', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   106
    "French Southern Territories": ('.tf', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   107
    "Gabon": ('.ga', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   108
    "Gambia": ('.gm', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   109
    "Georgia": ('.ge', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   110
    "Germany": ('.de', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   111
    "Ghana": ('.gh', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   112
    "Gibraltar": ('.gi', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   113
    "Greece": ('.gr', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   114
    "Greenland": ('.gl', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   115
    "Grenada": ('.gd', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   116
    "Guadeloupe (French)": ('.gp', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   117
    "Guam (USA)": ('.gu', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   118
    "Guatemala": ('.gt', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   119
    "Guinea": ('.gn', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   120
    "Guinea Bissau": ('.gw', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   121
    "Guyana": ('.gy', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   122
    "Haiti": ('.ht', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   123
    "Heard and McDonald Islands": ('.hm', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   124
    "Holy See (Vatican City State)": ('.va', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   125
    "Honduras": ('.hn', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   126
    "Hong Kong": ('.hk', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   127
    "Hungary": ('.hu', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   128
    "Iceland": ('.is', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   129
    "India": ('.in', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   130
    "Indonesia": ('.id', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   131
    "Iraq": ('.iq', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   132
    "Ireland": ('.ie', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   133
    "Israel": ('.il', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   134
    "Italy": ('.it', 'Europe'),
2862
27971a13089f Fixed Ivory Coast rename that was introduced in r74f0972f52.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2737
diff changeset
   135
    "Ivory Coast (Cote D'Ivoire)": ('.ci', 'Africa'),
2735
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   136
    "Jamaica": ('.jm', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   137
    "Japan": ('.jp', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   138
    "Jordan": ('.jo', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   139
    "Kazakhstan": ('.kz', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   140
    "Kenya": ('.ke', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   141
    "Kiribati": ('.ki', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   142
    "Kuwait": ('.kw', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   143
    "Kyrgyz Republic (Kyrgyzstan)": ('.kg', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   144
    "Laos": ('.la', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   145
    "Latvia": ('.lv', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   146
    "Lebanon": ('.lb', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   147
    "Lesotho": ('.ls', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   148
    "Liberia": ('.lr', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   149
    "Libya": ('.ly', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   150
    "Liechtenstein": ('.li', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   151
    "Lithuania": ('.lt', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   152
    "Luxembourg": ('.lu', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   153
    "Macau": ('.mo', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   154
    "Macedonia": ('.mk', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   155
    "Madagascar": ('.mg', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   156
    "Malawi": ('.mw', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   157
    "Malaysia": ('.my', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   158
    "Maldives": ('.mv', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   159
    "Mali": ('.ml', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   160
    "Malta": ('.mt', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   161
    "Marshall Islands": ('.mh', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   162
    "Martinique (French)": ('.mq', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   163
    "Mauritania": ('.mr', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   164
    "Mauritius": ('.mu', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   165
    "Mayotte": ('.yt', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   166
    "Mexico": ('.mx', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   167
    "Micronesia": ('.fm', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   168
    "Moldavia": ('.md', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   169
    "Monaco": ('.mc', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   170
    "Mongolia": ('.mn', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   171
    "Montenegro": ('.me', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   172
    "Montserrat": ('.ms', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   173
    "Morocco": ('.ma', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   174
    "Mozambique": ('.mz', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   175
    "Namibia": ('.na', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   176
    "Nauru": ('.nr', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   177
    "Nepal": ('.np', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   178
    "Netherlands": ('.nl', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   179
    "Netherlands Antilles": ('.an', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   180
    "New Caledonia (French)": ('.nc', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   181
    "New Zealand": ('.nz', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   182
    "Nicaragua": ('.ni', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   183
    "Niger": ('.ne', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   184
    "Nigeria": ('.ng', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   185
    "Niue": ('.nu', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   186
    "Northern Mariana Islands": ('.mp', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   187
    "Norway": ('.no', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   188
    "Oman": ('.om', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   189
    "Pakistan": ('.pk', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   190
    "Palau": ('.pw', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   191
    "Palestinian Territories": ('.ps', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   192
    "Panama": ('.pa', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   193
    "Papua New Guinea": ('.pg', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   194
    "Paraguay": ('.py', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   195
    "Peru": ('.pe', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   196
    "Philippines": ('.ph', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   197
    "Pitcairn Island": ('.pn', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   198
    "Poland": ('.pl', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   199
    "Polynesia (French)": ('.pf', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   200
    "Portugal": ('.pt', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   201
    "Puerto Rico": ('.pr', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   202
    "Qatar": ('.qa', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   203
    "Reunion (French)": ('.re', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   204
    "Romania": ('.ro', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   205
    "Russian Federation": ('.ru', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   206
    "Rwanda": ('.rw', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   207
    "South Georgia & South Sandwich Islands": ('.gs', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   208
    "Saint Helena": ('.sh', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   209
    "Saint Kitts & Nevis Anguilla": ('.kn', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   210
    "Saint Lucia": ('.lc', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   211
    "Saint Pierre and Miquelon": ('.pm', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   212
    "Saint Tome (Sao Tome) and Principe": ('.st', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   213
    "Saint Vincent & Grenadines": ('.vc', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   214
    "Samoa": ('.ws', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   215
    "San Marino": ('.sm', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   216
    "Saudi Arabia": ('.sa', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   217
    "Senegal": ('.sn', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   218
    "Serbia": ('.rs', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   219
    "Seychelles": ('.sc', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   220
    "Sierra Leone": ('.sl', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   221
    "Singapore": ('.sg', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   222
    "Slovak Republic": ('.sk', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   223
    "Slovenia": ('.si', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   224
    "Solomon Islands": ('.sb', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   225
    "Somalia": ('.so', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   226
    "South Africa": ('.za', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   227
    "South Korea": ('.kr', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   228
    "Spain": ('.es', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   229
    "Sri Lanka": ('.lk', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   230
    "Suriname": ('.sr', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   231
    "Svalbard and Jan Mayen Islands": ('.sj', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   232
    "Swaziland": ('.sz', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   233
    "Sweden": ('.se', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   234
    "Switzerland": ('.ch', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   235
    "Tadjikistan": ('.tj', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   236
    "Taiwan": ('.tw', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   237
    "Tanzania": ('.tz', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   238
    "Thailand": ('.th', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   239
    "Togo": ('.tg', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   240
    "Tokelau": ('.tk', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   241
    "Tonga": ('.to', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   242
    "Trinidad and Tobago": ('.tt', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   243
    "Tunisia": ('.tn', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   244
    "Turkey": ('.tr', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   245
    "Turkmenistan": ('.tm', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   246
    "Turks and Caicos Islands": ('.tc', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   247
    "Tuvalu": ('.tv', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   248
    "USA Minor Outlying Islands": ('.um', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   249
    "Uganda": ('.ug', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   250
    "Ukraine": ('.ua', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   251
    "United Arab Emirates": ('.ae', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   252
    "United Kingdom": ('.uk', 'Europe'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   253
    "United States": ('.us', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   254
    "Uruguay": ('.uy', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   255
    "Uzbekistan": ('.uz', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   256
    "Vanuatu": ('.vu', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   257
    "Venezuela": ('.ve', 'South America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   258
    "Vietnam": ('.vn', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   259
    "Virgin Islands (British)": ('.vg', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   260
    "Virgin Islands (USA)": ('.vi', 'North America'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   261
    "Wallis and Futuna Islands": ('.wf', 'Australia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   262
    "Western Sahara": ('.eh', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   263
    "Yemen": ('.ye', 'Asia'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   264
    "Zambia": ('.zm', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   265
    "Zimbabwe": ('.zw', 'Africa'),
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   266
    }
2248
094785ac13a5 Added dictionary mapping country names to their CCTLD in countries model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1308
diff changeset
   267
2735
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   268
# List of all countries and territories
2737
5b43af491b93 List of countries is actually alphabetically sorted.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2735
diff changeset
   269
COUNTRIES_AND_TERRITORIES = sorted(COUNTRY_INFO.keys())
2735
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   270
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   271
# Mapping of countries to their CCTLD
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   272
COUNTRIES_TO_CCTLD = dict((k, c) for k, (c, _) in COUNTRY_INFO.items()) 
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   273
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   274
# Mapping of countries to their continent
74f0972f523f Each country has its continent assigned.
Daniel Hans <Daniel.M.Hans@gmail.com>
parents: 2248
diff changeset
   275
COUNTRIES_TO_CONTINENT = dict((k, c) for k, (_, c) in COUNTRY_INFO.items())