Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/admin/__init__.py", line 331, in post
exec(compiled_code, globals())
File "<string>", line 3, in <module>
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 2098, in get
results = self.run(limit=1, **kwargs)
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 2061, in run
raw_query = self._get_query()
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 2446, in _get_query
kind = self._model_class.kind()
AttributeError: 'str' object has no attribute 'kind'
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Thank you, it works. I think the document should be updated:
--
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
ndb does not yet officially support projection queries, so there might be some rough edges if you use them.