Remove property decorator.

This commit is contained in:
Alexis Lahouze 2016-01-02 10:14:54 +01:00
parent 3152d141e9
commit abea8a4df3

View File

@ -33,7 +33,6 @@ class User(UserMixin, db.Model):
active = db.Column(db.Boolean, nullable=False, default=True, active = db.Column(db.Boolean, nullable=False, default=True,
server_default=db.true()) server_default=db.true())
@property
def is_active(self): def is_active(self):
return self.active return self.active