modifié: site/index.html
modifié: superTornado.py
This commit is contained in:
@ -4,6 +4,10 @@ import tornado.web
|
||||
class MainHandler(tornado.web.RequestHandler):
|
||||
def get(self):
|
||||
self.render("site/index.html")
|
||||
def post(self):
|
||||
iden = self.get_argument("id")
|
||||
mdp = self.get_argument("mdp")
|
||||
self.write("Le pseudo est :", iden)
|
||||
|
||||
application = tornado.web.Application([
|
||||
(r"/", MainHandler),
|
||||
|
Reference in New Issue
Block a user