oups: fix route
This commit is contained in:
parent
b653cb0218
commit
13a8184601
@ -481,11 +481,16 @@ sco_publish(
|
|||||||
Permission.ScoView,
|
Permission.ScoView,
|
||||||
methods=["GET", "POST"],
|
methods=["GET", "POST"],
|
||||||
)
|
)
|
||||||
sco_publish(
|
|
||||||
"/formation_table_recap",
|
|
||||||
sco_formation_recap.formation_table_recap,
|
@bp.route("/formation_table_recap")
|
||||||
Permission.ScoView,
|
@scodoc
|
||||||
)
|
@permission_required(Permission.ScoView)
|
||||||
|
@scodoc7func
|
||||||
|
def formation_table_recap(formation_id, format="html"):
|
||||||
|
return sco_formation_recap.formation_table_recap(formation_id, format="html")
|
||||||
|
|
||||||
|
|
||||||
sco_publish(
|
sco_publish(
|
||||||
"/export_recap_formations_annee_scolaire",
|
"/export_recap_formations_annee_scolaire",
|
||||||
sco_formation_recap.export_recap_formations_annee_scolaire,
|
sco_formation_recap.export_recap_formations_annee_scolaire,
|
||||||
@ -2459,6 +2464,7 @@ def formsemestre_set_apo_etapes():
|
|||||||
ScolarNews.add(
|
ScolarNews.add(
|
||||||
typ=ScolarNews.NEWS_APO,
|
typ=ScolarNews.NEWS_APO,
|
||||||
text=f"Modification code Apogée du semestre {formsemestre.titre_annee()})",
|
text=f"Modification code Apogée du semestre {formsemestre.titre_annee()})",
|
||||||
|
max_frequency=10 * 60,
|
||||||
)
|
)
|
||||||
return ("", 204)
|
return ("", 204)
|
||||||
|
|
||||||
@ -2480,6 +2486,7 @@ def formsemestre_set_elt_annee_apo():
|
|||||||
ScolarNews.add(
|
ScolarNews.add(
|
||||||
typ=ScolarNews.NEWS_APO,
|
typ=ScolarNews.NEWS_APO,
|
||||||
text=f"Modification code Apogée du semestre {formsemestre.titre_annee()})",
|
text=f"Modification code Apogée du semestre {formsemestre.titre_annee()})",
|
||||||
|
max_frequency=10 * 60,
|
||||||
)
|
)
|
||||||
return ("", 204)
|
return ("", 204)
|
||||||
|
|
||||||
@ -2501,6 +2508,7 @@ def formsemestre_set_elt_sem_apo():
|
|||||||
ScolarNews.add(
|
ScolarNews.add(
|
||||||
typ=ScolarNews.NEWS_APO,
|
typ=ScolarNews.NEWS_APO,
|
||||||
text=f"Modification code Apogée du semestre {formsemestre.titre_annee()})",
|
text=f"Modification code Apogée du semestre {formsemestre.titre_annee()})",
|
||||||
|
max_frequency=10 * 60,
|
||||||
)
|
)
|
||||||
return ("", 204)
|
return ("", 204)
|
||||||
|
|
||||||
@ -2522,6 +2530,7 @@ def ue_set_apo():
|
|||||||
ScolarNews.add(
|
ScolarNews.add(
|
||||||
typ=ScolarNews.NEWS_FORM,
|
typ=ScolarNews.NEWS_FORM,
|
||||||
text=f"Modification code Apogée d'UE dans la formation {ue.formation.titre} ({ue.formation.acronyme})",
|
text=f"Modification code Apogée d'UE dans la formation {ue.formation.titre} ({ue.formation.acronyme})",
|
||||||
|
max_frequency=10 * 60,
|
||||||
)
|
)
|
||||||
return ("", 204)
|
return ("", 204)
|
||||||
|
|
||||||
@ -2543,6 +2552,7 @@ def module_set_apo():
|
|||||||
ScolarNews.add(
|
ScolarNews.add(
|
||||||
typ=ScolarNews.NEWS_FORM,
|
typ=ScolarNews.NEWS_FORM,
|
||||||
text=f"Modification code Apogée d'UE dans la formation {mod.formation.titre} ({mod.formation.acronyme})",
|
text=f"Modification code Apogée d'UE dans la formation {mod.formation.titre} ({mod.formation.acronyme})",
|
||||||
|
max_frequency=10 * 60,
|
||||||
)
|
)
|
||||||
return ("", 204)
|
return ("", 204)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user