Another newbie question I am afraid, I am trying to use the ID/Name
field in my application, but having some problems.
I have the following query:
locations = db.GqlQuery("SELECT * FROM Location ORDER BY __key__
DESC LIMIT 10")
template_values = {
'greetings': locations,
}
And I am trying to use that field in my application like this:
{{ greeting.__key__ }}
{{ greeting.xpos }} etc....
Everything is working, except for when I try to include the __key__
field, what am I doing wrong?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---