forked from ScoDoc/ScoDoc
importe modeles pour faciliter essais interactifs
This commit is contained in:
parent
b28ffdd7a8
commit
01ea6286ee
19
scodoc.py
19
scodoc.py
@ -22,8 +22,14 @@ from app import models
|
|||||||
|
|
||||||
from app.auth.models import User, Role, UserRole
|
from app.auth.models import User, Role, UserRole
|
||||||
from app.models import ScoPreference
|
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.scodoc.sco_permissions import Permission
|
||||||
from app.views import notes, scolar, absences
|
from app.views import notes, scolar
|
||||||
import tools
|
import tools
|
||||||
|
|
||||||
from config import RunningConfig
|
from config import RunningConfig
|
||||||
@ -56,8 +62,17 @@ def make_shell_context():
|
|||||||
"login_user": login_user,
|
"login_user": login_user,
|
||||||
"logout_user": logout_user,
|
"logout_user": logout_user,
|
||||||
"ctx": app.test_request_context(),
|
"ctx": app.test_request_context(),
|
||||||
"models": models,
|
|
||||||
"mapp": mapp,
|
"mapp": mapp,
|
||||||
|
"models": models,
|
||||||
|
"Evaluation": Evaluation,
|
||||||
|
"Formation": Formation,
|
||||||
|
"FormSemestre": FormSemestre,
|
||||||
|
"FormsemestreInscription": FormsemestreInscription,
|
||||||
|
"Identite": Identite,
|
||||||
|
"Module": Module,
|
||||||
|
"ModuleImpl": ModuleImpl,
|
||||||
|
"ModuleImplInscription": ModuleImplInscription,
|
||||||
|
"UniteEns": UniteEns,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user