You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying Flask-Modals today (through the BS5 example), I got an error indicating missing Markup. So, I fixed it removing any version mention in requirements.txt to get all last ones, and changing modal.py as follow:
# from jinja2.utils import markupsafefrommarkupsafeimportMarkup# return markupsafe.Markup(render_template('modals/modalMessages.html'))returnMarkup(render_template('modals/modalMessages.html'))
However, nice. Bravo!
The text was updated successfully, but these errors were encountered:
Trying Flask-Modals today (through the BS5 example), I got an error indicating missing Markup. So, I fixed it removing any version mention in requirements.txt to get all last ones, and changing modal.py as follow:
However, nice. Bravo!
The text was updated successfully, but these errors were encountered: