Le bouton modifier redirige vers la page
This commit is contained in:
parent
439f356b8e
commit
52f9f93d52
7
app.py
7
app.py
|
@ -25,6 +25,13 @@ def sauveteur(idsauveteur):
|
||||||
def bateau(idbateau):
|
def bateau(idbateau):
|
||||||
return pages.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('/expeditions/<int:idexpe>')
|
||||||
@app.route('/expedition/<int:idexpe>')
|
@app.route('/expedition/<int:idexpe>')
|
||||||
def expe(idexpe):
|
def expe(idexpe):
|
||||||
|
|
3
pages.py
3
pages.py
|
@ -9,6 +9,9 @@ dbname = "site.db"
|
||||||
def main():
|
def main():
|
||||||
return render_template("index.html")
|
return render_template("index.html")
|
||||||
|
|
||||||
|
def modifs():
|
||||||
|
return render_template("modification.html")
|
||||||
|
|
||||||
def error():
|
def error():
|
||||||
return render_template("error.html")
|
return render_template("error.html")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue