From 892c55933b1bb2da428b079b4a3d7a26b15463ae Mon Sep 17 00:00:00 2001 From: Lou King Date: Wed, 2 Oct 2024 16:59:05 -0400 Subject: [PATCH] flask-nav hack to support new flask (mbr/flask-nav#28) --- app/src/mysql_docker/nav.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/mysql_docker/nav.py b/app/src/mysql_docker/nav.py index 97f4d83..c33300d 100644 --- a/app/src/mysql_docker/nav.py +++ b/app/src/mysql_docker/nav.py @@ -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