1
0
forked from ScoDoc/ScoDoc

publication API ListeAbsEtud compat ScoDoc7

This commit is contained in:
Emmanuel Viennet 2021-12-13 22:15:42 +01:00
parent 66f39b8f16
commit 862ffb89a1

View File

@ -245,7 +245,26 @@ sco_publish(
methods=["GET", "POST"], methods=["GET", "POST"],
) )
sco_publish("/ListeAbsEtud", sco_abs_views.ListeAbsEtud, Permission.ScoView) # Antédiluvienne fonction: #deprecated
@bp.route("/ListeAbsEtud", methods=["GET", "POST"]) # pour compat anciens clients PHP
@scodoc
@permission_required_compat_scodoc7(Permission.ScoView)
@scodoc7func
def ListeAbsEtud(
etudid,
with_evals=True,
format="html",
absjust_only=0,
sco_year=None,
):
return sco_abs_views.ListeAbsEtud(
etudid,
with_evals=with_evals,
format=format,
absjust_only=absjust_only,
sco_year=sco_year,
)
# -------------------------------------------------------------------- # --------------------------------------------------------------------
# #