Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Exception: Cannot find reverse relation for model #2398

Merged
merged 1 commit into from
Jul 25, 2024

Commits on Jul 25, 2024

  1. Fix Exception: Cannot find reverse relation for model

    SQLAlchemy 2.0.2 removed the invocation of registry.configure() from
    Mapper.iterate_properties causing this problem.
    
    https://docs.sqlalchemy.org/changelog/changelog_20.html#change-45fe5664c88893d899c991ca3675142c
    
    Observed as test failures in:
    
    flask_admin/tests/sqla/test_basic.py
    flask_admin/tests/sqla/test_form_rules.py
    flask_admin/tests/sqla/test_inlineform.py
    cjmayo authored and samuelhwilliams committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    5a59a5b View commit details
    Browse the repository at this point in the history