flask-wtform-tutorial
flask-wtform-tutorial copied to clipboard
Method not allowed when trying contact or signup - "POST / HTTP/1.1" 405
Hello, thanks for the tutorial.
When trying the example, testing it using make deploy, i'm getting a "POST / HTTP/1.1" 405 - so when I submit the form, i get an url with "Method Not Allowed".
I really don't understand why i'm getting this error but i'm just learning flask and Flask-WTF.
All the dependencies are installed and i'm not getting any other errors or warnings. Any thoughts?
I had the same error.
It seems that for my case the issue was the action = "/" in the form tag in contact.jinja2 file.
So now is just like that:
<form method="POST">
I'll check this when I have some time and i can come back to my "learning flask" mode. Thank you for taking the time and try to help .