Rename example in docs for clarity
This commit is contained in:
parent
40dc1f098a
commit
b41734bcb8
|
@ -81,9 +81,9 @@ You can get query string arguments and parse ``POST`` bodies with the
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
class MainHandler(tornado.web.RequestHandler):
|
class MyFormHandler(tornado.web.RequestHandler):
|
||||||
def get(self):
|
def get(self):
|
||||||
self.write('<html><body><form action="/" method="post">'
|
self.write('<html><body><form action="/myform" method="post">'
|
||||||
'<input type="text" name="message">'
|
'<input type="text" name="message">'
|
||||||
'<input type="submit" value="Submit">'
|
'<input type="submit" value="Submit">'
|
||||||
'</form></body></html>')
|
'</form></body></html>')
|
||||||
|
|
Loading…
Reference in New Issue