modifié: superTornado.py

This commit is contained in:
sidya82 2014-02-27 17:40:23 +01:00
parent 1ace66c798
commit 60a83a9e47
1 changed files with 2 additions and 4 deletions

View File

@ -7,10 +7,8 @@ class MainHandler(tornado.web.RequestHandler):
self.render("index.html")
class LoginHandler(tornado.web.RequestHandler):
def post(self):
iden = self.get_argument("id",'')
mdp = self.get_argument("mdp",'')
self.write("Le pseudo est :", iden)
def get(self):
seld.write("lol")
application = tornado.web.Application([
(r"/", MainHandler),