From 564af1ea6970c09247d4362058e60958a6b1a1db Mon Sep 17 00:00:00 2001 From: Nekori Date: Fri, 11 Jun 2021 14:25:33 +0200 Subject: [PATCH] Fix: method not allowed --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index 407c388..4e623b4 100644 --- a/app/routes.py +++ b/app/routes.py @@ -3,7 +3,7 @@ from app import app, db from app.forms import * import app.models as models -@app.route("/") +@app.route("/", methods=["GET","POST"]) @app.route("/index", methods=["GET","POST"]) def index(): form = AccueilForm()