forked from ScoDoc/DocScoDoc
add somes routes for scodoc7 compat API
This commit is contained in:
parent
51884bf28f
commit
245f954b05
@ -599,7 +599,7 @@ sco_publish("/ue_move", sco_edit_formation.ue_move, Permission.ScoChangeFormatio
|
||||
|
||||
@bp.route("/formsemestre_list")
|
||||
@scodoc
|
||||
@permission_required(Permission.ScoView)
|
||||
@permission_required_compat_scodoc7(Permission.ScoView)
|
||||
@scodoc7func
|
||||
def formsemestre_list(
|
||||
format=None,
|
||||
|
@ -402,6 +402,8 @@ def search_etud_by_name():
|
||||
# XMLgetEtudInfos était le nom dans l'ancienne API ScoDoc 6
|
||||
@bp.route("/etud_info")
|
||||
@bp.route("/XMLgetEtudInfos")
|
||||
@bp.route("/Absences/XMLgetEtudInfos") # compat with OLD clients
|
||||
@bp.route("/Notes/XMLgetEtudInfos")
|
||||
@scodoc
|
||||
@permission_required_compat_scodoc7(Permission.ScoView)
|
||||
@scodoc7func
|
||||
|
Loading…
Reference in New Issue
Block a user