see http://code.google.com/p/googleappengine/issues/detail?id=844
On Mar 25, 9:12 pm, Devel63 <[email protected]> wrote: > A class's __init__() constructor gets called whether you are creating > a new db.Model object in memory for the first time, or retrieving an > existing entity from the datastore. > > Is there some accepted way for knowing which case you are in from > within the __init__ call? > > If retrieving from the datastore, I don't want to set any values. But > how do I know? Should I call object.is_saved? Is there a better way > of handling this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
