Rein Petersen
unread,Jun 27, 2008, 3:26:19 PM6/27/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
I have enjoyed success in extending models using inheritance - I love
it!
But I'm encountering the following exception when I try to override a
property (say with a new default value of some sort) by declaring it
with the same name used in the superclass:
class 'google.appengine.ext.db.DuplicatePropertyError'
It is pretty clear what is happening here but I hope that Google App
Engine may, in future, allow the over-riding of properties. Of course,
the type of the over-riding property should be the same as the
corresponding super class property - it is only the defaults and other
various parameters that would, ideally, be subject to overrides.
Just a suggestion ;)
Rein