Deepcover
unread,Aug 19, 2009, 11:47:17 AM8/19/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
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?