Updated French departments list: fixed #17833 (typo in 28), moved Corsica (2A/2B) to the expected position, took into account recent changes to the overseas territories, and proof-read the list.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Aymeric Augustin 2012-03-05 09:42:31 +00:00
parent 6b48b88564
commit 101b6e13e3
1 changed files with 12 additions and 5 deletions

View File

@ -1,6 +1,9 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# See the "Code officiel géographique" on the INSEE website <www.insee.fr>.
DEPARTMENT_CHOICES = ( DEPARTMENT_CHOICES = (
# Metropolitan departments
('01', u'01 - Ain'), ('01', u'01 - Ain'),
('02', u'02 - Aisne'), ('02', u'02 - Aisne'),
('03', u'03 - Allier'), ('03', u'03 - Allier'),
@ -20,6 +23,8 @@ DEPARTMENT_CHOICES = (
('17', u'17 - Charente-Maritime'), ('17', u'17 - Charente-Maritime'),
('18', u'18 - Cher'), ('18', u'18 - Cher'),
('19', u'19 - Corrèze'), ('19', u'19 - Corrèze'),
('2A', u'2A - Corse-du-Sud'),
('2B', u'2B - Haute-Corse'),
('21', u'21 - Côte-d\'Or'), ('21', u'21 - Côte-d\'Or'),
('22', u'22 - Côtes-d\'Armor'), ('22', u'22 - Côtes-d\'Armor'),
('23', u'23 - Creuse'), ('23', u'23 - Creuse'),
@ -27,10 +32,8 @@ DEPARTMENT_CHOICES = (
('25', u'25 - Doubs'), ('25', u'25 - Doubs'),
('26', u'26 - Drôme'), ('26', u'26 - Drôme'),
('27', u'27 - Eure'), ('27', u'27 - Eure'),
('28', u'28 - Eure-et-Loire'), ('28', u'28 - Eure-et-Loir'),
('29', u'29 - Finistère'), ('29', u'29 - Finistère'),
('2A', u'2A - Corse-du-Sud'),
('2B', u'2B - Haute-Corse'),
('30', u'30 - Gard'), ('30', u'30 - Gard'),
('31', u'31 - Haute-Garonne'), ('31', u'31 - Haute-Garonne'),
('32', u'32 - Gers'), ('32', u'32 - Gers'),
@ -97,14 +100,18 @@ DEPARTMENT_CHOICES = (
('93', u'93 - Seine-Saint-Denis'), ('93', u'93 - Seine-Saint-Denis'),
('94', u'94 - Val-de-Marne'), ('94', u'94 - Val-de-Marne'),
('95', u'95 - Val-d\'Oise'), ('95', u'95 - Val-d\'Oise'),
# Overseas departments, communities, and other territories
('971', u'971 - Guadeloupe'), ('971', u'971 - Guadeloupe'),
('972', u'972 - Martinique'), ('972', u'972 - Martinique'),
('973', u'973 - Guyane'), ('973', u'973 - Guyane'),
('974', u'974 - La Réunion'), ('974', u'974 - La Réunion'),
('975', u'975 - Saint-Pierre-et-Miquelon'), ('975', u'975 - Saint-Pierre-et-Miquelon'),
('976', u'976 - Mayotte'), ('976', u'976 - Mayotte'),
('984', u'984 - Terres Australes et Antarctiques'), ('977', u'977 - Saint-Barthélemy'),
('978', u'978 - Saint-Martin'),
('984', u'984 - Terres australes et antarctiques françaises'),
('986', u'986 - Wallis et Futuna'), ('986', u'986 - Wallis et Futuna'),
('987', u'987 - Polynésie Française'), ('987', u'987 - Polynésie française'),
('988', u'988 - Nouvelle-Calédonie'), ('988', u'988 - Nouvelle-Calédonie'),
('989', u'989 - Île de Clipperton'),
) )