set verified country field
This commit is contained in:
parent
269680a67e
commit
040987165b
|
@ -66,6 +66,9 @@ class AuthenticAdapter(DefaultAdapter):
|
|||
# change from list to string
|
||||
attributes['lieuxMariage'] = '|'.join(attributes.get('lieuxMariage'))
|
||||
|
||||
# assume all answers are for Belgium, this may not actually be true
|
||||
attributes['pays'] = 'Belgique'
|
||||
|
||||
attribute_mapping = [
|
||||
('prenom', 'first_name'),
|
||||
('nom', 'last_name'),
|
||||
|
@ -78,6 +81,7 @@ class AuthenticAdapter(DefaultAdapter):
|
|||
('lieuxMariage', 'wedding_cities'),
|
||||
('lieuNaissance', 'birthplace'),
|
||||
('dateNaissance', 'birthdate'),
|
||||
('pays' 'country'),
|
||||
]
|
||||
for nrn_attribute, user_attribute in attribute_mapping:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue