Relative Content

Tag Archive for pythonmysqlflasksqlalchemyorm

Mapper “NoReferencedTableError” exception when trying to implement many-to-many ORM data model with SQLAclhemy+Flask

I’m volunteering for a small local community’s project while learning Python at the same time. It’s first time with Flask and SQLAlchemy for me (MySQL is used to store the data). ORM I chose was working fine at first, but when I tried to switch to many-to-many model between two tables following this official guide, this error “NoReferencedTableError” started to appear during initialization.