Le bouton modifier redirige vers la page

This commit is contained in:
theo@manjaro 2021-12-03 05:44:18 +01:00
parent 439f356b8e
commit 52f9f93d52
2 changed files with 10 additions and 0 deletions

7
app.py
View File

@ -25,6 +25,13 @@ def sauveteur(idsauveteur):
def bateau(idbateau):
return pages.bateau(idbateau)
@app.route('/modifications')
@app.route('/modifications/')
@app.route('/modification')
@app.route('/modification/')
def modifs():
return pages.modifs()
@app.route('/expeditions/<int:idexpe>')
@app.route('/expedition/<int:idexpe>')
def expe(idexpe):

View File

@ -9,6 +9,9 @@ dbname = "site.db"
def main():
return render_template("index.html")
def modifs():
return render_template("modification.html")
def error():
return render_template("error.html")