modifié: superTornado.py
This commit is contained in:
parent
1ace66c798
commit
60a83a9e47
@ -7,10 +7,8 @@ class MainHandler(tornado.web.RequestHandler):
|
|||||||
self.render("index.html")
|
self.render("index.html")
|
||||||
|
|
||||||
class LoginHandler(tornado.web.RequestHandler):
|
class LoginHandler(tornado.web.RequestHandler):
|
||||||
def post(self):
|
def get(self):
|
||||||
iden = self.get_argument("id",'')
|
seld.write("lol")
|
||||||
mdp = self.get_argument("mdp",'')
|
|
||||||
self.write("Le pseudo est :", iden)
|
|
||||||
|
|
||||||
application = tornado.web.Application([
|
application = tornado.web.Application([
|
||||||
(r"/", MainHandler),
|
(r"/", MainHandler),
|
||||||
|
Reference in New Issue
Block a user