Fix de la page principale
This commit is contained in:
parent
ba85fdc7d9
commit
62f89ae78e
3
app.py
3
app.py
@ -9,8 +9,9 @@ app = Flask(__name__)
|
|||||||
@app.route('/home/', methods=['GET', 'POST'])
|
@app.route('/home/', methods=['GET', 'POST'])
|
||||||
def main():
|
def main():
|
||||||
if request.method == 'GET':
|
if request.method == 'GET':
|
||||||
print(request)
|
return pages.main()
|
||||||
else:
|
else:
|
||||||
|
print(request)
|
||||||
return pages.main()
|
return pages.main()
|
||||||
|
|
||||||
@app.route('/sauveteurs/<int:idsauveteur>')
|
@app.route('/sauveteurs/<int:idsauveteur>')
|
||||||
|
Loading…
Reference in New Issue
Block a user