mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Cleanup
This commit is contained in:
parent
cc52744109
commit
cc74871f90
@ -1,7 +1,7 @@
|
|||||||
import eventlet
|
import eventlet
|
||||||
eventlet.monkey_patch()
|
eventlet.monkey_patch()
|
||||||
from app import create_app, db, socketio
|
from app import create_app, db, socketio
|
||||||
from app.models import *
|
from app.models import Corpus, Job, Role, User
|
||||||
from flask_migrate import Migrate
|
from flask_migrate import Migrate
|
||||||
import os
|
import os
|
||||||
|
|
||||||
@ -15,8 +15,7 @@ def make_shell_context():
|
|||||||
return {'db': db,
|
return {'db': db,
|
||||||
'Corpus': Corpus,
|
'Corpus': Corpus,
|
||||||
'Job': Job,
|
'Job': Job,
|
||||||
'User': User,
|
'User': User}
|
||||||
'CorpusFile': CorpusFile}
|
|
||||||
|
|
||||||
|
|
||||||
@app.cli.command()
|
@app.cli.command()
|
||||||
|
Loading…
Reference in New Issue
Block a user