Remove property decorator.
This commit is contained in:
parent
3152d141e9
commit
abea8a4df3
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user