I recently, started working on the google app engine and am facing the following problem:

I have a main.py where my user sees his own comments + those of others. Now, I need to add an EditComment.py where a user is directed when he wants to edit his code.

I am working with the guestbook application only, and to actually fetch the selected comment I need both guestbook name and the content of the comment. How do I create this url?

In other words, I need to create a url like

```
 \edit?guestbook="Family"&content="helloworld"

```

I tried this

```
//I need to send guestbook_name and content of greeting in order to fetch the row from
//the database
//So, I show the text of the greeting and give a url to edit page 

content_toSend = {'guestbook_name':guestbook_name,'content':greeting.content}

self.response.write('<blockquote><a href="/edit?%s">%s</a></blockquote>' %
                            (content_toSend,greeting.content))

//But the other side handler receives only the first variable of the dict in the get request

```

so that the user can click on a greeting and be directed to the edit page. But the get request just sends the first var(guestbook\_name) in the url. How do I send the whole dictionary?

Edit : I had tired urllib.urlencode but the handler in webapp2 requires a dict and so that didn't work