vendredi 30 janvier 2015

Pyramid POST /login HTTP1.1 404 error

So, i am new at python, pyramid and web and i`m trying to write simple app with main page and login page. For that i have two files login.pt and main.pt. When i go to 0.0.0.0:8080 i get login page. Now, if i enter correct data(login and password) i must get to main page, but every time in console of my IDE i got this string: "127.0.0.1 - - [30/Jan/2015 14:52:59] "POST /login HTTP/1.1" 404 158" In my views.py i got method login, which checking login and pass.


Can u tell me please what am i doing wrong?





Aucun commentaire:

Enregistrer un commentaire