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
When upgrading I only had issues with sqlalchemy and flask-admin. Flask-admin is pretty straight forward to sort out, however, sqlalchemy is a bit more tricky. Basically, you have to replace db.Model = sqlalchemy.declarative_base(cls=sqlalchemy.Model, name="Model", mapper=sqlalchemy.signalling_mapper, metaclass=_AdminBoundDeclarativeMeta) with db.Model = sqlalchemy.declarative_base(cls=sqlalchemy.Model, name="Model", mapper=sqlalchemy.orm.mapper, metaclass=_AdminBoundDeclarativeMeta) in __init__.py.
Please update library to lastest version
The text was updated successfully, but these errors were encountered: