Skip to content

Commit

Permalink
Defer loading of potentially large data by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Apr 2, 2016
1 parent ae6ef55 commit 19e8480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hasjob/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class User(UserBase2, db.Model):
__tablename__ = 'user'

resume = db.Column(JsonDict, nullable=False, default={})
resume = db.deferred(db.Column(JsonDict, nullable=False, default={}))
blocked = db.Column(db.Boolean, nullable=False, default=False)


Expand Down

0 comments on commit 19e8480

Please sign in to comment.