Answer the question
In order to leave comments, you need to log in
How to generate a menu from a flask-menu list?
I am using flask-menu like this
@app.route('/first')
@menu.register_menu(app, '.first', 'First', order=0)
def first():
return render_template('menu.html')
@app.route("/content/<page_name>")
def a_page(page_name):
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question