Flask SQLAlchemy relationship associations and backref
Flask-SQLAlchemy relationship associations are useful to easily retrieve related records from a related Model. In a Python Flask application I wanted to use a many-to-many relationship between Photos and Tags (eg many categories assigned to one or more photos). To do this I had the following things set up in my application: 3 database tables […]
Flask SQLAlchemy relationship associations and backref Read More »