This commit is contained in:
Patrick Jentsch 2020-01-20 09:08:42 +01:00
parent cc52744109
commit cc74871f90

View File

@ -1,7 +1,7 @@
import eventlet
eventlet.monkey_patch()
from app import create_app, db, socketio
from app.models import *
from app.models import Corpus, Job, Role, User
from flask_migrate import Migrate
import os
@ -15,8 +15,7 @@ def make_shell_context():
return {'db': db,
'Corpus': Corpus,
'Job': Job,
'User': User,
'CorpusFile': CorpusFile}
'User': User}
@app.cli.command()