Hi am going through the docs of GAE and needed a small clarification. If I have my db model something like this:-
class Phone(Model):
phone_name = db.StringProperty()
r = Phone(Nokia, key_name='first')
r.put()
Now if I have to retrieve this entity but I dont know the key, can I construct the key like this:
k=db.Key('Phone','first')
and once the key is constructed, can the entity be retrieved like this:-
r=db.get(k)