comparison piecrust/admin/blueprint.py @ 1151:0d699f04968c

cm: Update dependencies and fix imports of Flask plugins.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 03 Nov 2018 19:42:02 -0700
parents 98c7dd6ea4ac
children
comparison
equal deleted inserted replaced
1150:97b1b46cc156 1151:0d699f04968c
6 6
7 logger = logging.getLogger(__name__) 7 logger = logging.getLogger(__name__)
8 8
9 9
10 # Prepare the Login extension. 10 # Prepare the Login extension.
11 from flask.ext.login import LoginManager, UserMixin # NOQA 11 from flask_login import LoginManager, UserMixin # NOQA
12 12
13 13
14 class User(UserMixin): 14 class User(UserMixin):
15 def __init__(self, uid, pwd): 15 def __init__(self, uid, pwd):
16 self.id = uid 16 self.id = uid