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

Francedata: import first name and last name

parent 2c3946b9
......@@ -163,6 +163,8 @@ class FranceDataImporter(GenericImporter):
representative.birth_place = rep_json["lieu_naissance"]
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"]
gender_convertion_dict = {
......
......@@ -7,6 +7,8 @@
"cv": "",
"active": true,
"birth_place": "Lille (Nord)",
"first_name": "Bernard",
"last_name": "Roman",
"full_name": "Bernard Roman",
"birth_date": "1952-07-15",
"slug": "bernard-roman"
......@@ -22,6 +24,8 @@
"cv": "",
"active": true,
"birth_place": "non disponible",
"first_name": "David",
"last_name": "Assouline",
"full_name": "David Assouline",
"birth_date": "1959-06-16",
"slug": "david-assouline"
......
Markdown is supported
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