klipstein/dojango — Issue #8: 8 - Google AppEngine model not json-serializable 
Author: klipstein
Created: 2011-11-06 12:46:04+00:00
State: open

What steps will reproduce the problem?
1. Create new model in Google AppEngine (e.g. Foo)
2. return it via json by 'dojango.util.json_response(Foo.all())'

What is the expected output? What do you see instead?
TypeError:
<google.appengine.ext.db.Query object at 0x38b1290> is not JSON serializable

Please provide any additional information below.

Patch included for file util/__init__.py but needs to import google namespace.

Original link: http://code.google.com/p/dojango/issues/detail?id=8