mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
cleanup imports
This commit is contained in:
parent
73cb566db2
commit
c01068e96b
@ -1,10 +1,9 @@
|
|||||||
from datetime import datetime, timedelta
|
from datetime import datetime
|
||||||
from flask import (
|
from flask import (
|
||||||
abort,
|
abort,
|
||||||
current_app,
|
current_app,
|
||||||
flash,
|
flash,
|
||||||
jsonify,
|
jsonify,
|
||||||
make_response,
|
|
||||||
Markup,
|
Markup,
|
||||||
redirect,
|
redirect,
|
||||||
render_template,
|
render_template,
|
||||||
@ -14,15 +13,13 @@ from flask import (
|
|||||||
)
|
)
|
||||||
from flask_login import current_user, login_required
|
from flask_login import current_user, login_required
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
import jwt
|
|
||||||
import os
|
import os
|
||||||
from .decorators import corpus_follower_permission_required, corpus_owner_or_admin_required
|
from .decorators import corpus_follower_permission_required, corpus_owner_or_admin_required
|
||||||
from app import db, hashids
|
from app import db
|
||||||
from app.models import (
|
from app.models import (
|
||||||
Corpus,
|
Corpus,
|
||||||
CorpusFile,
|
CorpusFile,
|
||||||
CorpusFollowerAssociation,
|
CorpusFollowerAssociation,
|
||||||
CorpusFollowerPermission,
|
|
||||||
CorpusFollowerRole,
|
CorpusFollowerRole,
|
||||||
CorpusStatus,
|
CorpusStatus,
|
||||||
User
|
User
|
||||||
|
Loading…
Reference in New Issue
Block a user