forked from ScoDoc/ScoDoc
correction de str en string pour la route reset_etud_abs
This commit is contained in:
parent
fc4348d150
commit
248e78a188
@ -176,17 +176,17 @@ def abs_groupe_etat(group_id: int, date_debut=None, date_fin=None):
|
||||
|
||||
|
||||
@bp.route(
|
||||
"/absences/etudid/<int:etudid>/list_abs/<str:list_abs>/reset_etud_abs",
|
||||
"/absences/etudid/<int:etudid>/list_abs/<string:list_abs>/reset_etud_abs",
|
||||
methods=["POST"],
|
||||
defaults={"just_or_not": 0},
|
||||
)
|
||||
@bp.route(
|
||||
"/absences/etudid/<int:etudid>/list_abs/<str:list_abs>/reset_etud_abs/only_not_just",
|
||||
"/absences/etudid/<int:etudid>/list_abs/<string:list_abs>/reset_etud_abs/only_not_just",
|
||||
methods=["POST"],
|
||||
defaults={"just_or_not": 1},
|
||||
)
|
||||
@bp.route(
|
||||
"/absences/etudid/<int:etudid>/list_abs/<str:list_abs>/reset_etud_abs/only_just",
|
||||
"/absences/etudid/<int:etudid>/list_abs/<string:list_abs>/reset_etud_abs/only_just",
|
||||
methods=["POST"],
|
||||
defaults={"just_or_not": 2},
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user