summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-03-05 09:42:31 +0000
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-03-05 09:42:31 +0000
commit101b6e13e360506e188fe55ab10ae70f56f085c4 (patch)
tree4023263220aa9188d9a22fd1234f78924a3b4c1f
parent6b48b8856432e145fce7294f274305fea11cc9a6 (diff)
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
-rw-r--r--django/contrib/localflavor/fr/fr_department.py17
1 files changed, 12 insertions, 5 deletions
diff --git a/django/contrib/localflavor/fr/fr_department.py b/django/contrib/localflavor/fr/fr_department.py
index 12bb253f03..9f146ac8f9 100644
--- a/django/contrib/localflavor/fr/fr_department.py
+++ b/django/contrib/localflavor/fr/fr_department.py
@@ -1,6 +1,9 @@
# -*- coding: utf-8 -*-
+# See the "Code officiel géographique" on the INSEE website <www.insee.fr>.
+
DEPARTMENT_CHOICES = (
+ # Metropolitan departments
('01', u'01 - Ain'),
('02', u'02 - Aisne'),
('03', u'03 - Allier'),
@@ -20,6 +23,8 @@ DEPARTMENT_CHOICES = (
('17', u'17 - Charente-Maritime'),
('18', u'18 - Cher'),
('19', u'19 - Corrèze'),
+ ('2A', u'2A - Corse-du-Sud'),
+ ('2B', u'2B - Haute-Corse'),
('21', u'21 - Côte-d\'Or'),
('22', u'22 - Côtes-d\'Armor'),
('23', u'23 - Creuse'),
@@ -27,10 +32,8 @@ DEPARTMENT_CHOICES = (
('25', u'25 - Doubs'),
('26', u'26 - Drôme'),
('27', u'27 - Eure'),
- ('28', u'28 - Eure-et-Loire'),
+ ('28', u'28 - Eure-et-Loir'),
('29', u'29 - Finistère'),
- ('2A', u'2A - Corse-du-Sud'),
- ('2B', u'2B - Haute-Corse'),
('30', u'30 - Gard'),
('31', u'31 - Haute-Garonne'),
('32', u'32 - Gers'),
@@ -97,14 +100,18 @@ DEPARTMENT_CHOICES = (
('93', u'93 - Seine-Saint-Denis'),
('94', u'94 - Val-de-Marne'),
('95', u'95 - Val-d\'Oise'),
+ # Overseas departments, communities, and other territories
('971', u'971 - Guadeloupe'),
('972', u'972 - Martinique'),
('973', u'973 - Guyane'),
('974', u'974 - La Réunion'),
('975', u'975 - Saint-Pierre-et-Miquelon'),
('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'),
- ('987', u'987 - Polynésie Française'),
+ ('987', u'987 - Polynésie française'),
('988', u'988 - Nouvelle-Calédonie'),
+ ('989', u'989 - Île de Clipperton'),
)