Skip to content

Commit

Permalink
flask-nav hack to support new flask (mbr/flask-nav#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
louking committed Oct 2, 2024
1 parent 7c2ea03 commit 892c559
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/mysql_docker/nav.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

# standard

# hack for flask_nav, see https://github.com/mbr/flask-nav/issues/28#issuecomment-1491784747
import collections
collections.MutableMapping = collections.abc.MutableMapping

# pypi
from flask import g, current_app, url_for, request
from flask_nav import Nav
Expand Down

0 comments on commit 892c559

Please sign in to comment.