Skip to content
Snippets Groups Projects
Commit 55727f77 authored by Martin Mareš's avatar Martin Mareš
Browse files

Web: Komentář o použití URL mimo Flask

parent 26cdddc0
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ class PlaceSearchForm(FlaskForm): ...@@ -26,6 +26,7 @@ class PlaceSearchForm(FlaskForm):
submit = wtforms.SubmitField('Hledat') submit = wtforms.SubmitField('Hledat')
# URL je explicitně uvedeno v bin/init-schools
@app.route('/org/place/<int:id>/') @app.route('/org/place/<int:id>/')
def org_place(id: int): def org_place(id: int):
sess = db.get_session() sess = db.get_session()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment