Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated French departments list: fixed #17833 (typo in 28), moved Cor…

…sica (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
  • Loading branch information...
commit 101b6e13e360506e188fe55ab10ae70f56f085c4 1 parent 6b48b88
Aymeric Augustin authored
17  django/contrib/localflavor/fr/fr_department.py
... ...
@@ -1,6 +1,9 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 
  3
+# See the "Code officiel géographique" on the INSEE website <www.insee.fr>.
  4
+
3 5
 DEPARTMENT_CHOICES = (
  6
+    # Metropolitan departments
4 7
     ('01', u'01 - Ain'),
5 8
     ('02', u'02 - Aisne'),
6 9
     ('03', u'03 - Allier'),
@@ -20,6 +23,8 @@
20 23
     ('17', u'17 - Charente-Maritime'),
21 24
     ('18', u'18 - Cher'),
22 25
     ('19', u'19 - Corrèze'),
  26
+    ('2A', u'2A - Corse-du-Sud'),
  27
+    ('2B', u'2B - Haute-Corse'),
23 28
     ('21', u'21 - Côte-d\'Or'),
24 29
     ('22', u'22 - Côtes-d\'Armor'),
25 30
     ('23', u'23 - Creuse'),
@@ -27,10 +32,8 @@
27 32
     ('25', u'25 - Doubs'),
28 33
     ('26', u'26 - Drôme'),
29 34
     ('27', u'27 - Eure'),
30  
-    ('28', u'28 - Eure-et-Loire'),
  35
+    ('28', u'28 - Eure-et-Loir'),
31 36
     ('29', u'29 - Finistère'),
32  
-    ('2A', u'2A - Corse-du-Sud'),
33  
-    ('2B', u'2B - Haute-Corse'),
34 37
     ('30', u'30 - Gard'),
35 38
     ('31', u'31 - Haute-Garonne'),
36 39
     ('32', u'32 - Gers'),
@@ -97,14 +100,18 @@
97 100
     ('93', u'93 - Seine-Saint-Denis'),
98 101
     ('94', u'94 - Val-de-Marne'),
99 102
     ('95', u'95 - Val-d\'Oise'),
  103
+    # Overseas departments, communities, and other territories
100 104
     ('971', u'971 - Guadeloupe'),
101 105
     ('972', u'972 - Martinique'),
102 106
     ('973', u'973 - Guyane'),
103 107
     ('974', u'974 - La Réunion'),
104 108
     ('975', u'975 - Saint-Pierre-et-Miquelon'),
105 109
     ('976', u'976 - Mayotte'),
106  
-    ('984', u'984 - Terres Australes et Antarctiques'),
  110
+    ('977', u'977 - Saint-Barthélemy'),
  111
+    ('978', u'978 - Saint-Martin'),
  112
+    ('984', u'984 - Terres australes et antarctiques françaises'),
107 113
     ('986', u'986 - Wallis et Futuna'),
108  
-    ('987', u'987 - Polynésie Française'),
  114
+    ('987', u'987 - Polynésie française'),
109 115
     ('988', u'988 - Nouvelle-Calédonie'),
  116
+    ('989', u'989 - Île de Clipperton'),
110 117
 )

0 notes on commit 101b6e1

Please sign in to comment.
Something went wrong with that request. Please try again.