I'm newbie at Flask. I am trying to manage the flash alerts to appear where I want them. When I write the code get_flashed_messages() in the .html module the messages appears twice, without this code the alert appears once but not where I want them to appear. It doesn't matter if the flash alert has the bootstrap extra codes or not and also if it is before redirect or render_template returns. I checked the Flask documentation and can't find a solution to this.flash code in app.py code in the .html module first lines of my application

You must log in to answer this question.

Browse other questions tagged .