Hey, I have a model like this: class List(db.Model): user = db.ReferenceProperty(User) listname = db.StringProperty()
i have an aplication that takes some parameters through an html form and then creates a model entity. The problem is, that whatever i try, i get an error like this:
setattr allows you to dynamically name attributes in Python classes. I\'m trying to do something similar with an App Engine Model:
like one forum has开发者_开发技巧 many topic , ths specific is : forumand topic has the same model :
this is my model: class Geo(db.Model): entry = db.ListProperty(db.Key) geo=Geo() geo.entry.append(otherModel.key())
I have model which looks like this: class Example (db.Model) : name = db.StringProperty() tags = db.StringListProperty()
小霸王 强辩乐团 专辑:小霸王 语种:国语 流派:Pop 发行时间:2007-12-21 本歌词于吾爱知道收集