Model.kind()
E.g., for a model like this:
class LargeTextList(db.Model):
large_text_list = db.ListProperty(item_type=db.Text)
my_model_instance.kind()
returns LargeTextList
.
Edit (thanks to OP for clarification):
The property information you seek is there, but you'll need to escape to see it, e.g. in your template:
<p>{{ my_model_instance.properties|escape }}</p>
This returns:
{'large_text_list': <google.appengine.ext.db.ListProperty object at 0x24b1790>}
Edit2:
You can also call properties()
on the class itself:
my_model = LargeTextList
and in the template as before (be sure to use the escape
filter):
<p>{{ model.properties|escape }}</p>