*: fix legacy imports
This change reorganizes imports and renames the legacy flask extensions.
This commit is contained in:
parent
0d805905dc
commit
fc7301be0d
23 changed files with 179 additions and 139 deletions
|
@ -2,13 +2,16 @@ import logging
|
|||
import json
|
||||
|
||||
from flask import request, Blueprint, abort, Response
|
||||
from flask.ext.login import current_user
|
||||
from auth.auth import require_session_login
|
||||
from flask_login import current_user
|
||||
|
||||
from app import userevents
|
||||
from auth.auth import require_session_login
|
||||
from data.userevent import CannotReadUserEventsException
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
realtime = Blueprint('realtime', __name__)
|
||||
|
||||
|
||||
|
|
Reference in a new issue