I have tried this code, but the "next" copy with "joan2" does not get
put() into the datastore, only the original copy with "joan". Can you
tell me how to do this without doing it attribute by attribute,
please?
import os
from google.appengine.ext import db
class Group(db.Model):
zoom = db.IntegerProperty(default=2)
place = db.StringProperty()
place = Group(key_name="joan")
place.zoom =3
place.place="joan"
place.put()
nextplace = Group(key_name="joan2")
nextplace=place
print nextplace.zoom
nextplace.put()
Thank you,
Brian in Atlanta
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---