Tri responsable formsemestre par nom.

This commit is contained in:
Emmanuel Viennet 2023-09-11 17:58:12 +02:00 committed by iziram
parent 673179c8f7
commit 306edaf63d

View File

@ -18,6 +18,7 @@ from flask_login import current_user
from flask import flash, g, url_for
from sqlalchemy.sql import text
from sqlalchemy import func
import app.scodoc.sco_utils as scu
from app import db, log
@ -138,6 +139,7 @@ class FormSemestre(db.Model):
secondary="notes_formsemestre_responsables",
lazy=True,
backref=db.backref("formsemestres", lazy=True),
order_by=func.upper(User.nom),
)
partitions = db.relationship(
"Partition",