fix route in import_infos_admissions

This commit is contained in:
Emmanuel Viennet 2021-11-06 17:58:11 +01:00
parent 50115337b1
commit ac09c104e9

View File

@ -643,7 +643,7 @@ def scolars_import_admission(datafile, formsemestre_id=None, type_admission=None
raise FormatError(
"scolars_import_admission: colonnes nom et prenom requises",
dest_url=url_for(
"notes.form_students_import_infos_admissions",
"scolar.form_students_import_infos_admissions",
scodoc_dept=g.scodoc_dept,
formsemestre_id=formsemestre_id,
),
@ -676,7 +676,7 @@ def scolars_import_admission(datafile, formsemestre_id=None, type_admission=None
'scolars_import_admission: valeur invalide, ligne %d colonne %s: "%s"'
% (nline, field_name, line[idx]),
dest_url=url_for(
"notes.form_students_import_infos_admissions",
"scolar.form_students_import_infos_admissions",
scodoc_dept=g.scodoc_dept,
formsemestre_id=formsemestre_id,
),
@ -762,7 +762,7 @@ def adm_get_fields(titles, formsemestre_id):
'scolars_import_admission: titre "%s" en double (ligne 1)'
% (title),
dest_url=url_for(
"notes.form_students_import_infos_admissions_apb",
"scolar.form_students_import_infos_admissions_apb",
scodoc_dept=g.scodoc_dept,
formsemestre_id=formsemestre_id,
),