to investigate one of the
approaches at
https://bitbucket.org/zzzeek/sqlalchemy/wiki/UsageRecipes/UniqueObject.
Hope that helps,
Simon
On Sun, Feb 22, 2015 at 9:27 PM, Asad Dhamani dhama...@gmail.com
javascript: wrote:
I looked at my code some more, and found a now obvious mistake
I have a many-to-many relationship in my models. This is what they look
like:
class Post(db.Model):
__tablename__ = 'Posts'
id = db.Column(db.Integer, primary_key=True)
tags_relationship = db.relationship('Tag', secondary=tags, backref=db.
backref('posts', lazy='dynamic'))
tags =
the tags.
On Monday, February 23, 2015 at 1:46:07 AM UTC+5:30, Asad Dhamani wrote:
I have a many-to-many relationship in my models. This is what they look
like:
class Post(db.Model):
__tablename__ = 'Posts'
id = db.Column(db.Integer, primary_key=True)
tags_relationship