class webdir(db.model):
name = db.StringProperty()
class webcontain(db.model):
dirA = db.ReferenceProperty(webdir)
dirB = db.ReferenceProperty(webdir)
When running, a duplex property error for model "webdir" will pop out.
Basicly I blelive there is a bug in the db library when try to define
a property "webcontain_set" for model "webdir". Looks like it did not
consider there maybe 2 reference in "webcontain" model to the same
"webdir" model
That is blocking my application development.Wish it could be fixed
soon.
Parts of the error:
File "E:\Program Files\Google\google_appengine\google\appengine\ext
\db\__init_
_.py", line 296, in __init__
attr.__property_config__(cls, attr_name)
File "E:\Program Files\Google\google_appengine\google\appengine\ext
\db\__init_
_.py", line 2232, in __property_config__
self.collection_name))
DuplicatePropertyError: Class WebUsers already has property webdir_set
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---