Region and Region wise Country YAML List for Django fixtures

Hi Friends,

Most of the time we spend much time in making Region and Regional wise Country YAML fixtures for Django applications. All the region and country picked from standard region and country list. I hope that it may reduce your work.

Mainly, the YAML file is used for configuring Database with initial values, otherwise we may loose our time while developing the application.

Region YAML List:

- fields: {name: Unknown, code: 0}
model: region
pk: 1

- fields: {name: EASTERN AFRICA, code: 014}
model: region
pk: 2

- fields: {name: MIDDLE AFRICA, code: 017}
model: region
pk: 3

- fields: {name: NORTHERN AFRICA, code: 015}
model: region
pk: 4

- fields: {name: SOUTHERN AFRICA, code: 018}
model: region
pk: 5

- fields: {name: WESTERN AFRICA, code: 011}
model: region
pk: 6

- fields: {name: CARIBBEAN, code: 029}
model: region
pk: 7

- fields: {name: CENTRAL AMERICA, code: 013}
model: region
pk: 8

- fields: {name: SOUTHERN AMERICA, code: 005}
model: region
pk: 9

- fields: {name: NORTHERN AMERICA, code: 021}
model: region
pk: 10

- fields: {name: CENTRAL ASIA, code: 143}
model: region
pk: 11

- fields: {name: EASTERN ASIA, code: 030}
model: region
pk: 12

- fields: {name: SOUTHERN ASIA, code: 034}
model: region
pk: 13

- fields: {name: SOUTH-EASTERN ASIA, code: 035}
model: region
pk: 14

- fields: {name: WESTERN ASIA, code: 145}
model: region
pk: 15

- fields: {name: EASTERN EUROPE, code: 151}
model: region
pk: 16

- fields: {name: NORTHERN EUROPE, code: 154}
model: region
pk: 17

- fields: {name: SOUTHERN EUROPE, code: 039}
model: region
pk: 18

- fields: {name: WESTERN EUROPE, code: 155}
model: region
pk: 19

- fields: {name: AUSTRALIA AND NEW ZEALAND, code: 053}
model: region
pk: 20

- fields: {name: MELANESIA, code: 054}
model: region
pk: 21

- fields: {name: MICRONESIA, code: 057}
model: region
pk: 22

- fields: {name: POLYNESIA, code: 061}
model: region
pk: 23

Regional wise Country YAML List:

- fields: {region: 1, name: Unknown, calling_code: 0, iso: XX, iso3: XXX}
model: country
pk: 1

- fields: {region: 13, name: AFGHANISTAN, calling_code: 93, iso: AF, iso3: AFG}
model: country
pk: 2

- fields: {region: 17, name: ALAND, calling_code: 358, iso: AX, iso3: ALA}
model: country
pk: 3

- fields: {region: 18, name: ALBANIA, calling_code: 355, iso: AL, iso3: ALB}
model: country
pk: 4

- fields: {region: 4, name: ALGERIA, calling_code: 213, iso: DZ, iso3: DZA}
model: country
pk: 5

- fields: {region: 23, name: AMERICAN SAMOA, calling_code: 1-684, iso: AS, iso3: ASM}
model: country
pk: 6

- fields: {region: 18, name: ANDORRA, calling_code: 376, iso: AD, iso3: AND}
model: country
pk: 7

- fields: {region: 3, name: ANGOLA, calling_code: 244, iso: AO, iso3: AGO}
model: country
pk: 8

- fields: {region: 7, name: ANGUILLA, calling_code: 1-264, iso: AI, iso3: AIA}
model: country
pk: 9

- fields: {region: 1, name: ANTARCTICA, calling_code: 672, iso: AQ, iso3: ATA}
model: country
pk: 10

- fields: {region: 7, name: ANTIGUA AND BARBUDA, calling_code: 1-268, iso: AG, iso3: ATG}
model: country
pk: 11

- fields: {region: 9, name: ARGENTINA, calling_code: 54, iso: AR, iso3: ARG}
model: country
pk: 12

- fields: {region: 15, name: ARMENIA, calling_code: 374, iso: AM, iso3: ARM}
model: country
pk: 13

- fields: {region: 7, name: ARUBA, calling_code: 297, iso: AW, iso3: ABW}
model: country
pk: 14

- fields: {region: 20, name: AUSTRALIA, calling_code: 61, iso: AU, iso3: AUS}
model: country
pk: 15

- fields: {region: 19, name: AUSTRIA, calling_code: 43, iso: AT, iso3: AUT}
model: country
pk: 16

- fields: {region: 15, name: AZERBAIJAN, calling_code: 994, iso: AZ, iso3: AZE}
model: country
pk: 17

- fields: {region: 7, name: BAHAMAS, calling_code: 1-242, iso: BS, iso3: BHS}
model: country
pk: 18

- fields: {region: 15, name: BAHRAIN, calling_code: 973, iso: BH, iso3: BHR}
model: country
pk: 19

- fields: {region: 13, name: BANGLADESH, calling_code: 880, iso: BD, iso3: BGD}
model: country
pk: 20

- fields: {region: 7, name: BARBADOS, calling_code: 1-246, iso: BB, iso3: BRB}
model: country
pk: 21

- fields: {region: 16, name: BELARUS, calling_code: 375, iso: BY, iso3: BLR}
model: country
pk: 22

- fields: {region: 19, name: BELGIUM, calling_code: 32, iso: BE, iso3: BEL}
model: country
pk: 23

- fields: {region: 8, name: BELIZE, calling_code: 501, iso: BZ, iso3: BLZ}
model: country
pk: 24

- fields: {region: 6, name: BENIN, calling_code: 229, iso: BJ, iso3: BEN}
model: country
pk: 25

- fields: {region: 10, name: BERMUDA, calling_code: 1-441, iso: BM, iso3: BMU}
model: country
pk: 26

- fields: {region: 13, name: BHUTAN, calling_code: 975, iso: BT, iso3: BTN}
model: country
pk: 27

- fields: {region: 9, name: BOLIVIA, calling_code: 591, iso: BO, iso3: BOL}
model: country
pk: 28

- fields: {region: 18, name: BOSNIA AND HERZEGOVINA, calling_code: 387, iso: BA, iso3: BIH}
model: country
pk: 29

- fields: {region: 5, name: BOTSWANA, calling_code: 267, iso: BW, iso3: BWA}
model: country
pk: 30

- fields: {region: 1, name: BOUVET ISLAND, calling_code: 47, iso: BV, iso3: BVT}
model: country
pk: 31

- fields: {region: 9, name: BRAZIL, calling_code: 55, iso: BR, iso3: BRA}
model: country
pk: 32

- fields: {region: 1, name: BRITISH INDIAN OCEAN TERRITORY, calling_code: 246, iso: IO, iso3: IOT}
model: country
pk: 33

- fields: {region: 14, name: BRUNEI DARUSSALAM, calling_code: 673, iso: BN, iso3: BRN}
model: country
pk: 34

- fields: {region: 16, name: BULGARIA, calling_code: 359, iso: BG, iso3: BGR}
model: country
pk: 35

- fields: {region: 6, name: BURKINA FASO, calling_code: 226, iso: BF, iso3: BFA}
model: country
pk: 36

- fields: {region: 2, name: BURUNDI, calling_code: 257, iso: BI, iso3: BDI}
model: country
pk: 37

- fields: {region: 14, name: CAMBODIA, calling_code: 855, iso: KH, iso3: KHM}
model: country
pk: 38

- fields: {region: 3, name: CAMEROON, calling_code: 237, iso: CM, iso3: CMR}
model: country
pk: 39

- fields: {region: 10, name: CANADA, calling_code: 1, iso: CA, iso3: CAN}
model: country
pk: 40

- fields: {region: 6, name: CAPE VERDE, calling_code: 238, iso: CV, iso3: CPV}
model: country
pk: 41

- fields: {region: 7, name: CAYMAN ISLANDS, calling_code: 1-345, iso: KY, iso3: CYM}
model: country
pk: 42

- fields: {region: 3, name: CENTRAL AFRICAN REPUBLIC, calling_code: 236, iso: CF, iso3: CAF}
model: country
pk: 43

- fields: {region: 3, name: CHAD, calling_code: 235, iso: TD, iso3: TCD}
model: country
pk: 44

- fields: {region: 9, name: CHILE, calling_code: 56, iso: CL, iso3: CHL}
model: country
pk: 45

- fields: {region: 12, name: CHINA, calling_code: 86, iso: CN, iso3: CHN}
model: country
pk: 46

- fields: {region: 1, name: CHRISTMAS ISLAND, calling_code: 61, iso: CX, iso3: CXR}
model: country
pk: 47

- fields: {region: 1, name: COCOS (KEELING) ISLANDS, calling_code: 61, iso: CC, iso3: CCK}
model: country
pk: 48

- fields: {region: 9, name: COLOMBIA, calling_code: 57, iso: CO, iso3: COL}
model: country
pk: 49

- fields: {region: 2, name: COMOROS, calling_code: 269, iso: KM, iso3: COM}
model: country
pk: 50

- fields: {region: 3, name: CONGO (BRAZZAVILLE), calling_code: 242, iso: CG, iso3: COG}
model: country
pk: 51

- fields: {region: 3, name: CONGO (KINSHASA), calling_code: 243, iso: CD, iso3: COD}
model: country
pk: 52

- fields: {region: 23, name: COOK ISLANDS, calling_code: 682, iso: CK, iso3: COK}
model: country
pk: 53

- fields: {region: 8, name: COSTA RICA, calling_code: 506, iso: CR, iso3: CRI}
model: country
pk: 54

- fields: {region: 6, name: COTE D'IVOIRE, calling_code: 225, iso: CI, iso3: CIV}
model: country
pk: 55

- fields: {region: 18, name: CROATIA, calling_code: 385, iso: HR, iso3: HRV}
model: country
pk: 56

- fields: {region: 7, name: CUBA, calling_code: 53, iso: CU, iso3: CUB}
model: country
pk: 57

- fields: {region: 15, name: CYPRUS, calling_code: 357, iso: CY, iso3: CYP}
model: country
pk: 58

- fields: {region: 16, name: CZECH REPUBLIC, calling_code: 420, iso: CZ, iso3: CZE}
model: country
pk: 59

- fields: {region: 17, name: DENMARK, calling_code: 45, iso: DK, iso3: DNK}
model: country
pk: 60

- fields: {region: 2, name: DJIBOUTI, calling_code: 253, iso: DJ, iso3: DJI}
model: country
pk: 61

- fields: {region: 7, name: DOMINICA, calling_code: 1-767, iso: DM, iso3: DMA}
model: country
pk: 62

- fields: {region: 7, name: DOMINICAN REPUBLIC, calling_code: 1-809, iso: DO, iso3: DOM}
model: country
pk: 63

- fields: {region: 9, name: ECUADOR, calling_code: 593, iso: EC, iso3: ECU}
model: country
pk: 64

- fields: {region: 4, name: EGYPT, calling_code: 20, iso: EG, iso3: EGY}
model: country
pk: 65

- fields: {region: 8, name: EL SALVADOR, calling_code: 503, iso: SV, iso3: SLV}
model: country
pk: 66

- fields: {region: 3, name: EQUATORIAL GUINEA, calling_code: 240, iso: GQ, iso3: GNQ}
model: country
pk: 67

- fields: {region: 2, name: ERITREA, calling_code: 291, iso: ER, iso3: ERI}
model: country
pk: 68

- fields: {region: 17, name: ESTONIA, calling_code: 372, iso: EE, iso3: EST}
model: country
pk: 69

- fields: {region: 2, name: ETHIOPIA, calling_code: 251, iso: ET, iso3: ETH}
model: country
pk: 70

- fields: {region: 9, name: FALKLAND ISLANDS, calling_code: 500, iso: FK, iso3: FLK}
model: country
pk: 71

- fields: {region: 1, name: FAROE ISLANDS, calling_code: 298, iso: FO, iso3: FRO}
model: country
pk: 72

- fields: {region: 21, name: FIJI, calling_code: 679, iso: FJ, iso3: FJI}
model: country
pk: 73

- fields: {region: 17, name: FINLAND, calling_code: 358, iso: FI, iso3: FIN}
model: country
pk: 74

- fields: {region: 19, name: FRANCE, calling_code: 33, iso: FR, iso3: FRA}
model: country
pk: 75

- fields: {region: 9, name: FRENCH GUIANA, calling_code: 594, iso: GF, iso3: GUF}
model: country
pk: 76

- fields: {region: 23, name: FRENCH POLYNESIA, calling_code: 689, iso: PF, iso3: PYF}
model: country
pk: 77

- fields: {region: 1, name: FRENCH SOUTHERN LANDS, calling_code: 262, iso: TF, iso3: ATF}
model: country
pk: 78

- fields: {region: 3, name: GABON, calling_code: 241, iso: GA, iso3: GAB}
model: country
pk: 79

- fields: {region: 6, name: GAMBIA, calling_code: 220, iso: GM, iso3: GMB}
model: country
pk: 80

- fields: {region: 15, name: GEORGIA, calling_code: 995, iso: GE, iso3: GEO}
model: country
pk: 81

- fields: {region: 19, name: GERMANY, calling_code: 49, iso: DE, iso3: DEU}
model: country
pk: 82

- fields: {region: 6, name: GHANA, calling_code: 233, iso: GH, iso3: GHA}
model: country
pk: 83

- fields: {region: 18, name: GIBRALTAR, calling_code: 350, iso: GI, iso3: GIB}
model: country
pk: 84

- fields: {region: 18, name: GREECE, calling_code: 30, iso: GR, iso3: GRC}
model: country
pk: 85

- fields: {region: 10, name: GREENLAND, calling_code: 299, iso: GL, iso3: GRL}
model: country
pk: 86

- fields: {region: 7, name: GRENADA, calling_code: 1-473, iso: GD, iso3: GRD}
model: country
pk: 87

- fields: {region: 7, name: GUADELOUPE, calling_code: 590, iso: GP, iso3: GLP}
model: country
pk: 88

- fields: {region: 22, name: GUAM, calling_code: 1-671, iso: GU, iso3: GUM}
model: country
pk: 89

- fields: {region: 8, name: GUATEMALA, calling_code: 502, iso: GT, iso3: GTM}
model: country
pk: 90

- fields: {region: 17, name: GUERNSEY, calling_code: 44, iso: GG, iso3: GGY}
model: country
pk: 91

- fields: {region: 6, name: GUINEA, calling_code: 224, iso: GN, iso3: GIN}
model: country
pk: 92

- fields: {region: 6, name: GUINEA-BISSAU, calling_code: 245, iso: GW, iso3: GNB}
model: country
pk: 93

- fields: {region: 9, name: GUYANA, calling_code: 592, iso: GY, iso3: GUY}
model: country
pk: 94

- fields: {region: 7, name: HAITI, calling_code: 509, iso: HT, iso3: HTI}
model: country
pk: 95

- fields: {region: 1, name: HEARD AND MCDONALD ISLANDS, calling_code: 672, iso: HM, iso3: HMD}
model: country
pk: 96

- fields: {region: 8, name: HONDURAS, calling_code: 504, iso: HN, iso3: HND}
model: country
pk: 97

- fields: {region: 12, name: HONG KONG, calling_code: 852, iso: HK, iso3: HKG}
model: country
pk: 98

- fields: {region: 16, name: HUNGARY, calling_code: 36, iso: HU, iso3: HUN}
model: country
pk: 99

- fields: {region: 17, name: ICELAND, calling_code: 354, iso: IS, iso3: ISL}
model: country
pk: 100

- fields: {region: 13, name: INDIA, calling_code: 91, iso: IN, iso3: IND}
model: country
pk: 101

- fields: {region: 14, name: INDONESIA, calling_code: 62, iso: ID, iso3: IDN}
model: country
pk: 102

- fields: {region: 13, name: IRAN, calling_code: 98, iso: IR, iso3: IRN}
model: country
pk: 103

- fields: {region: 15, name: IRAQ, calling_code: 964, iso: IQ, iso3: IRQ}
model: country
pk: 104

- fields: {region: 17, name: IRELAND, calling_code: 353, iso: IE, iso3: IRL}
model: country
pk: 105

- fields: {region: 17, name: ISLE OF MAN, calling_code: 44, iso: IM, iso3: IMN}
model: country
pk: 106

- fields: {region: 15, name: ISRAEL, calling_code: 972, iso: IL, iso3: ISR}
model: country
pk: 107

- fields: {region: 18, name: ITALY, calling_code: 39, iso: IT, iso3: ITA}
model: country
pk: 108

- fields: {region: 7, name: JAMAICA, calling_code: 1-876, iso: JM, iso3: JAM}
model: country
pk: 109

- fields: {region: 12, name: JAPAN, calling_code: 81, iso: JP, iso3: JPN}
model: country
pk: 110

- fields: {region: 17, name: JERSEY, calling_code: 44, iso: JE, iso3: JEY}
model: country
pk: 111

- fields: {region: 15, name: JORDAN, calling_code: 962, iso: JO, iso3: JOR}
model: country
pk: 112

- fields: {region: 11, name: KAZAKHSTAN, calling_code: 7, iso: KZ, iso3: KAZ}
model: country
pk: 113

- fields: {region: 2, name: KENYA, calling_code: 254, iso: KE, iso3: KEN}
model: country
pk: 114

- fields: {region: 22, name: KIRIBATI, calling_code: 686, iso: KI, iso3: KIR}
model: country
pk: 115

- fields: {region: 12, name: KOREA NORTH, calling_code: 850, iso: KP, iso3: PRK}
model: country
pk: 116

- fields: {region: 12, name: KOREA SOUTH, calling_code: 82, iso: KR, iso3: KOR}
model: country
pk: 117

- fields: {region: 15, name: KUWAIT, calling_code: 965, iso: KW, iso3: KWT}
model: country
pk: 118

- fields: {region: 11, name: KYRGYZSTAN, calling_code: 996, iso: KG, iso3: KGZ}
model: country
pk: 119

- fields: {region: 1, name: LAOS, calling_code: 856, iso: LA, iso3: LAO}
model: country
pk: 120

- fields: {region: 17, name: LATVIA, calling_code: 371, iso: LV, iso3: LVA}
model: country
pk: 121

- fields: {region: 15, name: LEBANON, calling_code: 961, iso: LB, iso3: LBN}
model: country
pk: 122

- fields: {region: 5, name: LESOTHO, calling_code: 266, iso: LS, iso3: LSO}
model: country
pk: 123

- fields: {region: 6, name: LIBERIA, calling_code: 231, iso: LR, iso3: LBR}
model: country
pk: 124

- fields: {region: 4, name: LIBYA, calling_code: 218, iso: LY, iso3: LBY}
model: country
pk: 125

- fields: {region: 19, name: LIECHTENSTEIN, calling_code: 423, iso: LI, iso3: LIE}
model: country
pk: 126

- fields: {region: 17, name: LITHUANIA, calling_code: 370, iso: LT, iso3: LTU}
model: country
pk: 127

- fields: {region: 19, name: LUXEMBOURG, calling_code: 352, iso: LU, iso3: LUX}
model: country
pk: 128

- fields: {region: 1, name: MACAU, calling_code: 853, iso: MO, iso3: MAC}
model: country
pk: 129

- fields: {region: 18, name: MACEDONIA, calling_code: 389, iso: MK, iso3: MKD}
model: country
pk: 130

- fields: {region: 2, name: MADAGASCAR, calling_code: 261, iso: MG, iso3: MDG}
model: country
pk: 131

- fields: {region: 2, name: MALAWI, calling_code: 265, iso: MW, iso3: MWI}
model: country
pk: 132

- fields: {region: 14, name: MALAYSIA, calling_code: 60, iso: MY, iso3: MYS}
model: country
pk: 133

- fields: {region: 13, name: MALDIVES, calling_code: 960, iso: MV, iso3: MDV}
model: country
pk: 134

- fields: {region: 6, name: MALI, calling_code: 223, iso: ML, iso3: MLI}
model: country
pk: 135

- fields: {region: 18, name: MALTA, calling_code: 356, iso: MT, iso3: MLT}
model: country
pk: 136

- fields: {region: 22, name: MARSHALL ISLANDS, calling_code: 692, iso: MH, iso3: MHL}
model: country
pk: 137

- fields: {region: 7, name: MARTINIQUE, calling_code: 596, iso: MQ, iso3: MTQ}
model: country
pk: 138

- fields: {region: 6, name: MAURITANIA, calling_code: 222, iso: MR, iso3: MRT}
model: country
pk: 139

- fields: {region: 2, name: MAURITIUS, calling_code: 230, iso: MU, iso3: MUS}
model: country
pk: 140

- fields: {region: 2, name: MAYOTTE, calling_code: 262, iso: YT, iso3: MYT}
model: country
pk: 141

- fields: {region: 8, name: MEXICO, calling_code: 52, iso: MX, iso3: MEX}
model: country
pk: 142

- fields: {region: 22, name: MICRONESIA, calling_code: 691, iso: FM, iso3: FSM}
model: country
pk: 143

- fields: {region: 16, name: MOLDOVA, calling_code: 373, iso: MD, iso3: MDA}
model: country
pk: 144

- fields: {region: 19, name: MONACO, calling_code: 377, iso: MC, iso3: MCO}
model: country
pk: 145

- fields: {region: 12, name: MONGOLIA, calling_code: 976, iso: MN, iso3: MNG}
model: country
pk: 146

- fields: {region: 18, name: MONTENEGRO, calling_code: 382, iso: ME, iso3: MNE}
model: country
pk: 147

- fields: {region: 7, name: MONTSERRAT, calling_code: 1-664, iso: MS, iso3: MSR}
model: country
pk: 148

- fields: {region: 4, name: MOROCCO, calling_code: 212, iso: MA, iso3: MAR}
model: country
pk: 149

- fields: {region: 2, name: MOZAMBIQUE, calling_code: 258, iso: MZ, iso3: MOZ}
model: country
pk: 150

- fields: {region: 14, name: MYANMAR, calling_code: 95, iso: MM, iso3: MMR}
model: country
pk: 151

- fields: {region: 5, name: NAMIBIA, calling_code: 264, iso: NA, iso3: NAM}
model: country
pk: 152

- fields: {region: 22, name: NAURU, calling_code: 674, iso: NR, iso3: NRU}
model: country
pk: 153

- fields: {region: 13, name: NEPAL, calling_code: 977, iso: NP, iso3: NPL}
model: country
pk: 154

- fields: {region: 19, name: NETHERLANDS, calling_code: 31, iso: NL, iso3: NLD}
model: country
pk: 155

- fields: {region: 19, name: NETHERLANDS ANTILLES, calling_code: 599, iso: AN, iso3: ANT}
model: country
pk: 156

- fields: {region: 21, name: NEW CALEDONIA, calling_code: 687, iso: NC, iso3: NCL}
model: country
pk: 157

- fields: {region: 20, name: NEW ZEALAND, calling_code: 64, iso: NZ, iso3: NZL}
model: country
pk: 158

- fields: {region: 8, name: NICARAGUA, calling_code: 505, iso: NI, iso3: NIC}
model: country
pk: 159

- fields: {region: 6, name: NIGER, calling_code: 227, iso: NE, iso3: NER}
model: country
pk: 160

- fields: {region: 6, name: NIGERIA, calling_code: 234, iso: NG, iso3: NGA}
model: country
pk: 161

- fields: {region: 23, name: NIUE, calling_code: 683, iso: NU, iso3: NIU}
model: country
pk: 162

- fields: {region: 20, name: NORFOLK ISLAND, calling_code: 672, iso: NF, iso3: NFK}
model: country
pk: 163

- fields: {region: 22, name: NORTHERN MARIANA ISLANDS, calling_code: 1-670, iso: MP, iso3: MNP}
model: country
pk: 164

- fields: {region: 17, name: NORWAY, calling_code: 47, iso: "NO", iso3: NOR}
model: country
pk: 165

- fields: {region: 15, name: OMAN, calling_code: 968, iso: OM, iso3: OMN}
model: country
pk: 166

- fields: {region: 13, name: PAKISTAN, calling_code: 92, iso: PK, iso3: PAK}
model: country
pk: 167

- fields: {region: 22, name: PALAU, calling_code: 680, iso: PW, iso3: PLW}
model: country
pk: 168

- fields: {region: 15, name: PALESTINE, calling_code: 970, iso: PS, iso3: PSE}
model: country
pk: 169

- fields: {region: 8, name: PANAMA, calling_code: 507, iso: PA, iso3: PAN}
model: country
pk: 170

- fields: {region: 21, name: PAPUA NEW GUINEA, calling_code: 675, iso: PG, iso3: PNG}
model: country
pk: 171

- fields: {region: 9, name: PARAGUAY, calling_code: 595, iso: PY, iso3: PRY}
model: country
pk: 172

- fields: {region: 9, name: PERU, calling_code: 51, iso: PE, iso3: PER}
model: country
pk: 173

- fields: {region: 14, name: PHILIPPINES, calling_code: 63, iso: PH, iso3: PHL}
model: country
pk: 174

- fields: {region: 23, name: PITCAIRN, calling_code: 870, iso: PN, iso3: PCN}
model: country
pk: 175

- fields: {region: 16, name: POLAND, calling_code: 48, iso: PL, iso3: POL}
model: country
pk: 176

- fields: {region: 18, name: PORTUGAL, calling_code: 351, iso: PT, iso3: PRT}
model: country
pk: 177

- fields: {region: 7, name: PUERTO RICO, calling_code: 1, iso: PR, iso3: PRI}
model: country
pk: 178

- fields: {region: 15, name: QATAR, calling_code: 974, iso: QA, iso3: QAT}
model: country
pk: 179

- fields: {region: 2, name: REUNION, calling_code: 262, iso: RE, iso3: REU}
model: country
pk: 180

- fields: {region: 16, name: ROMANIA, calling_code: 40, iso: RO, iso3: ROU}
model: country
pk: 181

- fields: {region: 16, name: RUSSIAN FEDERATION, calling_code: 7, iso: RU, iso3: RUS}
model: country
pk: 182

- fields: {region: 2, name: RWANDA, calling_code: 250, iso: RW, iso3: RWA}
model: country
pk: 183

- fields: {region: 7, name: SAINT BARTHELEMY, calling_code: 590, iso: BL, iso3: BLM}
model: country
pk: 184

- fields: {region: 6, name: SAINT HELENA, calling_code: 290, iso: SH, iso3: SHN}
model: country
pk: 185

- fields: {region: 7, name: SAINT KITTS AND NEVIS, calling_code: 1-869, iso: KN, iso3: KNA}
model: country
pk: 186

- fields: {region: 7, name: SAINT LUCIA, calling_code: 1-758, iso: LC, iso3: LCA}
model: country
pk: 187

- fields: {region: 7, name: SAINT MARTIN (FRENCH PART), calling_code: 590, iso: MF, iso3: MAF}
model: country
pk: 188

- fields: {region: 10, name: SAINT PIERRE AND MIQUELON, calling_code: 508, iso: PM, iso3: SPM}
model: country
pk: 189

- fields: {region: 7, name: SAINT VINCENT AND THE GRENADINES, calling_code: 1-784, iso: VC, iso3: VCT}
model: country
pk: 190

- fields: {region: 23, name: SAMOA, calling_code: 685, iso: WS, iso3: WSM}
model: country
pk: 191

- fields: {region: 18, name: SAN MARINO, calling_code: 378, iso: SM, iso3: SMR}
model: country
pk: 192

- fields: {region: 3, name: SAO TOME AND PRINCIPE, calling_code: 23912, iso: ST, iso3: STP}
model: country
pk: 193

- fields: {region: 15, name: SAUDI ARABIA, calling_code: 966, iso: SA, iso3: SAU}
model: country
pk: 194

- fields: {region: 6, name: SENEGAL, calling_code: 221, iso: SN, iso3: SEN}
model: country
pk: 195

- fields: {region: 18, name: SERBIA, calling_code: 381, iso: RS, iso3: SRB}
model: country
pk: 196

- fields: {region: 2, name: SEYCHELLES, calling_code: 248, iso: SC, iso3: SYC}
model: country
pk: 197

- fields: {region: 6, name: SIERRA LEONE, calling_code: 232, iso: SL, iso3: SLE}
model: country
pk: 198

- fields: {region: 14, name: SINGAPORE, calling_code: 65, iso: SG, iso3: SGP}
model: country
pk: 199

- fields: {region: 16, name: SLOVAKIA, calling_code: 421, iso: SK, iso3: SVK}
model: country
pk: 200

- fields: {region: 18, name: SLOVENIA, calling_code: 386, iso: SI, iso3: SVN}
model: country
pk: 201

- fields: {region: 21, name: SOLOMON ISLANDS, calling_code: 677, iso: SB, iso3: SLB}
model: country
pk: 202

- fields: {region: 2, name: SOMALIA, calling_code: 252, iso: SO, iso3: SOM}
model: country
pk: 203

- fields: {region: 5, name: SOUTH AFRICA, calling_code: 27, iso: ZA, iso3: ZAF}
model: country
pk: 204

- fields: {region: 1, name: SOUTH GEORGIA AND SOUTH SANDWICH ISLANDS, calling_code: 500, iso: GS, iso3: SGS}
model: country
pk: 205

- fields: {region: 18, name: SPAIN, calling_code: 34, iso: ES, iso3: ESP}
model: country
pk: 206

- fields: {region: 13, name: SRI LANKA, calling_code: 94, iso: LK, iso3: LKA}
model: country
pk: 207

- fields: {region: 4, name: SUDAN, calling_code: 249, iso: SD, iso3: SDN}
model: country
pk: 208

- fields: {region: 9, name: SURINAME, calling_code: 597, iso: SR, iso3: SUR}
model: country
pk: 209

- fields: {region: 17, name: SVALBARD AND JAN MAYEN ISLANDS, calling_code: 47, iso: SJ, iso3: SJM}
model: country
pk: 210

- fields: {region: 5, name: SWAZILAND, calling_code: 268, iso: SZ, iso3: SWZ}
model: country
pk: 211

- fields: {region: 17, name: SWEDEN, calling_code: 46, iso: SE, iso3: SWE}
model: country
pk: 212

- fields: {region: 19, name: SWITZERLAND, calling_code: 41, iso: CH, iso3: CHE}
model: country
pk: 213

- fields: {region: 15, name: SYRIA, calling_code: 963, iso: SY, iso3: SYR}
model: country
pk: 214

- fields: {region: 1, name: TAIWAN, calling_code: 886, iso: TW, iso3: TWN}
model: country
pk: 215

- fields: {region: 11, name: TAJIKISTAN, calling_code: 992, iso: TJ, iso3: TJK}
model: country
pk: 216

- fields: {region: 2, name: TANZANIA, calling_code: 255, iso: TZ, iso3: TZA}
model: country
pk: 217

- fields: {region: 14, name: THAILAND, calling_code: 66, iso: TH, iso3: THA}
model: country
pk: 218

- fields: {region: 14, name: TIMOR-LESTE, calling_code: 670, iso: TL, iso3: TLS}
model: country
pk: 219

- fields: {region: 6, name: TOGO, calling_code: 228, iso: TG, iso3: TGO}
model: country
pk: 220

- fields: {region: 23, name: TOKELAU, calling_code: 690, iso: TK, iso3: TKL}
model: country
pk: 221

- fields: {region: 23, name: TONGA, calling_code: 676, iso: TO, iso3: TON}
model: country
pk: 222

- fields: {region: 7, name: TRINIDAD AND TOBAGO, calling_code: 1-868, iso: TT, iso3: TTO}
model: country
pk: 223

- fields: {region: 4, name: TUNISIA, calling_code: 216, iso: TN, iso3: TUN}
model: country
pk: 224

- fields: {region: 15, name: TURKEY, calling_code: 90, iso: TR, iso3: TUR}
model: country
pk: 225

- fields: {region: 11, name: TURKMENISTAN, calling_code: 993, iso: TM, iso3: TKM}
model: country
pk: 226

- fields: {region: 7, name: TURKS AND CAICOS ISLANDS, calling_code: 1-649, iso: TC, iso3: TCA}
model: country
pk: 227

- fields: {region: 23, name: TUVALU, calling_code: 688, iso: TV, iso3: TUV}
model: country
pk: 228

- fields: {region: 2, name: UGANDA, calling_code: 256, iso: UG, iso3: UGA}
model: country
pk: 229

- fields: {region: 16, name: UKRAINE, calling_code: 380, iso: UA, iso3: UKR}
model: country
pk: 230

- fields: {region: 15, name: UNITED ARAB EMIRATES, calling_code: 971, iso: AE, iso3: ARE}
model: country
pk: 231

- fields: {region: 17, name: UNITED KINGDOM, calling_code: 44, iso: GB, iso3: GBR}
model: country
pk: 232

- fields: {region: 1, name: UNITED STATES MINOR OUTLYING ISLANDS, calling_code: 0, iso: UM, iso3: UMI}
model: country
pk: 233

- fields: {region: 10, name: UNITED STATES OF AMERICA, calling_code: 1, iso: US, iso3: USA}
model: country
pk: 234

- fields: {region: 9, name: URUGUAY, calling_code: 598, iso: UY, iso3: URY}
model: country
pk: 235

- fields: {region: 11, name: UZBEKISTAN, calling_code: 998, iso: UZ, iso3: UZB}
model: country
pk: 236

- fields: {region: 21, name: VANUATU, calling_code: 678, iso: VU, iso3: VUT}
model: country
pk: 237

- fields: {region: 18, name: VATICAN CITY, calling_code: 39-06, iso: VA, iso3: VAT}
model: country
pk: 238

- fields: {region: 9, name: VENEZUELA, calling_code: 58, iso: VE, iso3: VEN}
model: country
pk: 239

- fields: {region: 1, name: VIETNAM, calling_code: 84, iso: VN, iso3: VNM}
model: country
pk: 240

- fields: {region: 7, name: VIRGIN ISLANDS BRITISH, calling_code: 1284, iso: VG, iso3: VGB}
model: country
pk: 241

- fields: {region: 7, name: VIRGIN ISLANDS US, calling_code: 1340, iso: VI, iso3: VIR}
model: country
pk: 242

- fields: {region: 23, name: WALLIS AND FUTUNA ISLANDS, calling_code: 681, iso: WF, iso3: WLF}
model: country
pk: 243

- fields: {region: 4, name: WESTERN SAHARA, calling_code: 212, iso: EH, iso3: ESH}
model: country
pk: 244

- fields: {region: 15, name: YEMEN, calling_code: 967, iso: YE, iso3: YEM}
model: country
pk: 245

- fields: {region: 2, name: ZAMBIA, calling_code: 260, iso: ZM, iso3: ZMB}
model: country
pk: 246

- fields: {region: 2, name: ZIMBABWE, calling_code: 263, iso: ZW, iso3: ZWE}
model: country
pk: 247

Commands for load YAML data in Database via Django Project

./manage.py loaddata YAML_File_apth/file_name.yaml

Cheers!


Django-Python Web based application developer.

Share This Post

Related Articles

Leave a Reply

© 2017 Techy Diary. All rights reserved.
Powered by Charvi Groups