From 19e84807af11ec8669e3aa5ed3ff322bdee8a75a Mon Sep 17 00:00:00 2001 From: Kiran Jonnalagadda Date: Sat, 2 Apr 2016 13:10:52 +0530 Subject: [PATCH] Defer loading of potentially large data by default --- hasjob/models/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hasjob/models/user.py b/hasjob/models/user.py index ba9e7cf4c..788c1d3ef 100644 --- a/hasjob/models/user.py +++ b/hasjob/models/user.py @@ -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)