Fixed student import

This commit is contained in:
Claude Paroz 2017-07-19 11:33:54 +02:00
parent 843526bf27
commit 26630687db
6 changed files with 79 additions and 56 deletions

View file

@ -118,7 +118,7 @@ ALLOWED_HOSTS = ['localhost', 'stages.pierre-coullery.ch']
# Mapping between column names of a tabular file and Student field names
STUDENT_IMPORT_MAPPING = {
'NO_CLOEE': 'ext_id',
'NOCLOEE': 'ext_id',
'NOM': 'last_name',
'PRENOM': 'first_name',
'RUE': 'street',
@ -129,8 +129,6 @@ STUDENT_IMPORT_MAPPING = {
'DATENAI': 'birth_date',
'NAVS13': 'avs',
'SEXE': 'gender',
'NO_EMPLOYEUR' : 'corporation',
'NO_FORMATEUR' : 'instructor',
'CLASSE_ACTUELLE': 'klass',
}