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()