これは私のモデルです:
class Geo(db.Model):
entry = db.ListProperty(db.Key)
geo=Geo()
geo.entry.append(otherModel.key())
htmlは次のとおりです。
{% for i in geo.entry %}
<p><a href="{{ i.link }}">{{ i.title }}</a></p>
{% endfor%}
何も表示されませんが、
私は多分すべきだと思います:
class Geo(db.Model):
entry = db.ListProperty(db.Model)
geo=Geo()
geo.entry.append(otherModel)
しかし、それは示しています:
ValueError: Item type Model is not acceptable
だから、htmlを作る方法は正しいことを示しています。
ありがとう