forked from ScoDoc/ScoDoc
publication API ListeAbsEtud compat ScoDoc7
This commit is contained in:
parent
66f39b8f16
commit
862ffb89a1
@ -245,7 +245,26 @@ sco_publish(
|
||||
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,
|
||||
)
|
||||
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user