1
0
forked from ScoDoc/ScoDoc

importe modeles pour faciliter essais interactifs

This commit is contained in:
Emmanuel Viennet 2021-11-18 23:52:06 +01:00
parent b28ffdd7a8
commit 01ea6286ee

View File

@ -22,8 +22,14 @@ from app import models
from app.auth.models import User, Role, UserRole
from app.models import ScoPreference
from app.models import Formation, UniteEns, Module
from app.models import FormSemestre, FormsemestreInscription
from app.models import ModuleImpl, ModuleImplInscription
from app.models import Identite
from app.models.evaluations import Evaluation
from app.scodoc.sco_etud import identite_create
from app.scodoc.sco_permissions import Permission
from app.views import notes, scolar, absences
from app.views import notes, scolar
import tools
from config import RunningConfig
@ -56,8 +62,17 @@ def make_shell_context():
"login_user": login_user,
"logout_user": logout_user,
"ctx": app.test_request_context(),
"models": models,
"mapp": mapp,
"models": models,
"Evaluation": Evaluation,
"Formation": Formation,
"FormSemestre": FormSemestre,
"FormsemestreInscription": FormsemestreInscription,
"Identite": Identite,
"Module": Module,
"ModuleImpl": ModuleImpl,
"ModuleImplInscription": ModuleImplInscription,
"UniteEns": UniteEns,
}