Hello I am trying to write a real basic application to get an idea of
Google App Engine

I can't seem to find or figure out how to select data based on id. I
understand the Datastore creates one

here is some code I am using what I would like to do is pass an id to
the url

right now I am using a string



qs = db.GqlQuery("SELECT * FROM forum_db LIMIT 10")

for q in qs:
        self.response.out.write("<div><a href=\"/viewtopic?topic=%s\">%s</a></
div>" % (q.topic, q.topic))


then to recieve the data I get it with

data.topic = self.request.get('topic')

I guess what I am asking is how do I get the id so I can pass that
instead

Sorry if this doesn't make sense

*cheers

For any help

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to