2021-08-07 15:20:30 +02:00
|
|
|
# -*- coding: UTF-8 -*
|
|
|
|
|
|
|
|
"""Modèles base de données ScoDoc
|
|
|
|
XXX version préliminaire ScoDoc8 #sco8 sans département
|
|
|
|
"""
|
|
|
|
|
|
|
|
CODE_STR_LEN = 16 # chaine pour les codes
|
|
|
|
SHORT_STR_LEN = 32 # courtes chaine, eg acronymes
|
|
|
|
APO_CODE_STR_LEN = 16 # nb de car max d'un code Apogée
|
|
|
|
|
2021-08-09 17:01:47 +02:00
|
|
|
from app.models.raw_sql_init import init_scodoc_database
|
|
|
|
|
2021-08-07 15:20:30 +02:00
|
|
|
from app.models.absences import Absence, AbsenceNotification, BilletAbsence
|
|
|
|
from app.models.entreprises import (
|
|
|
|
Entreprise,
|
|
|
|
EntrepriseCorrespondant,
|
|
|
|
EntrepriseContact,
|
|
|
|
)
|
|
|
|
from app.models.etudiants import (
|
|
|
|
Identite,
|
|
|
|
Adresse,
|
|
|
|
Admission,
|
|
|
|
ItemSuivi,
|
|
|
|
ItemSuiviTag,
|
|
|
|
EtudAnnotation,
|
|
|
|
)
|
|
|
|
from app.models.events import Scolog, ScolarNews
|
|
|
|
from app.models.formations import (
|
|
|
|
NotesFormation,
|
|
|
|
NotesUE,
|
|
|
|
NotesMatiere,
|
|
|
|
NotesModule,
|
|
|
|
NotesTag,
|
|
|
|
)
|
|
|
|
from app.models.formsemestre import (
|
|
|
|
FormSemestre,
|
|
|
|
NotesFormsemestreEtape,
|
2021-08-09 11:33:04 +02:00
|
|
|
NotesFormModalite,
|
2021-08-07 15:20:30 +02:00
|
|
|
NotesFormsemestreUECoef,
|
|
|
|
NotesFormsemestreUEComputationExpr,
|
|
|
|
NotesFormsemestreCustomMenu,
|
|
|
|
NotesFormsemestreInscription,
|
|
|
|
NotesModuleImpl,
|
|
|
|
notes_modules_enseignants,
|
|
|
|
NotesModuleImplInscription,
|
|
|
|
NotesEvaluation,
|
|
|
|
NotesSemSet,
|
|
|
|
notes_semset_formsemestre,
|
|
|
|
)
|
|
|
|
from app.models.groups import Partition, GroupDescr, group_membership
|
|
|
|
from app.models.notes import (
|
|
|
|
ScolarEvent,
|
|
|
|
ScolarFormsemestreValidation,
|
|
|
|
ScolarAutorisationInscription,
|
|
|
|
NotesAppreciations,
|
|
|
|
NotesNotes,
|
|
|
|
NotesNotesLog,
|
|
|
|
)
|
|
|
|
from app.models.preferences import ScoPreferences
|