diff --git a/orun/js.py b/orun/js.py index a2d6449..66dd960 100644 --- a/orun/js.py +++ b/orun/js.py @@ -44,6 +44,8 @@ def encode(o): return str(o) elif isinstance(o, dict): return dict2extjs(o) + elif isinstance(o, JsObject): + return o._id else: return o