Initial idea for specifying a user account mixin for user model

This commit is contained in:
Matt Wright
2012-03-27 14:27:12 -04:00
parent dd6ba0995d
commit 5a7f4dff47
5 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class SQLAlchemyUserDatastore(UserDatastore):
self.name = name
self.description = description
class User(db.Model, UserMixin):
class User(db.Model, UserMixin, self.user_account_mixin):
"""SQLAlchemy User model"""
id = db.Column(db.Integer, primary_key=True)