On Apr 8, 5:23 am, saintthor <[email protected]> wrote:
> i solved. it is so strange.
>
> code as yours do not work till i alter it to:
>
> dests = db.GqlQuery( "SELECT * FROM Dj_User WHERE UserID = '4'" )
> dests.get()
> d = dests[0]
> d.UserName = "aaa"
> db.put( d )
>
> it won't work without using the "d". i think it is a bug.
It's a bug in your earlier code.
db.put(dests) is a lot different than db.put(d) when d == dests[0];
dests != dests[0]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---