*: 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
|
@ -1,13 +1,14 @@
|
|||
import logging
|
||||
|
||||
from flask.ext.principal import identity_loaded, Permission, Identity, identity_changed
|
||||
from collections import namedtuple, defaultdict
|
||||
from functools import partial
|
||||
|
||||
import scopes
|
||||
from flask_principal import identity_loaded, Permission, Identity, identity_changed
|
||||
|
||||
|
||||
from data import model
|
||||
from app import app, superusers
|
||||
from auth import scopes
|
||||
from data import model
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
Reference in a new issue