how do I instrospect appengine's datastore models?

Posted by python for ever on Stack Overflow See other posts from Stack Overflow or by python for ever
Published on 2010-05-28T15:38:58Z Indexed on 2010/05/28 15:42 UTC
Read the original article Hit count: 120

in order to dynamically create a form, i have to find the property types of a model's properties at runtime.

appengine docs says that Model.properties() will return a dictionary of properties name and their class type. when i use this method in my code, only the name is returned and the classtype value is always empty.

© Stack Overflow or respective owner

Related posts about python

Related posts about google-app-engine