Commit 7da872ab authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Francedata: import first name and last name

parent 2c3946b9
...@@ -163,6 +163,8 @@ class FranceDataImporter(GenericImporter): ...@@ -163,6 +163,8 @@ class FranceDataImporter(GenericImporter):
representative.birth_place = rep_json["lieu_naissance"] representative.birth_place = rep_json["lieu_naissance"]
representative.photo = rep_json['photo_url'] representative.photo = rep_json['photo_url']
representative.first_name = rep_json['prenom']
representative.last_name = rep_json['nom_de_famille']
representative.full_name = rep_json["nom"] representative.full_name = rep_json["nom"]
gender_convertion_dict = { gender_convertion_dict = {
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
"cv": "", "cv": "",
"active": true, "active": true,
"birth_place": "Lille (Nord)", "birth_place": "Lille (Nord)",
"first_name": "Bernard",
"last_name": "Roman",
"full_name": "Bernard Roman", "full_name": "Bernard Roman",
"birth_date": "1952-07-15", "birth_date": "1952-07-15",
"slug": "bernard-roman" "slug": "bernard-roman"
...@@ -22,6 +24,8 @@ ...@@ -22,6 +24,8 @@
"cv": "", "cv": "",
"active": true, "active": true,
"birth_place": "non disponible", "birth_place": "non disponible",
"first_name": "David",
"last_name": "Assouline",
"full_name": "David Assouline", "full_name": "David Assouline",
"birth_date": "1959-06-16", "birth_date": "1959-06-16",
"slug": "david-assouline" "slug": "david-assouline"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment