Skip to content

Instantly share code, notes, and snippets.

@Porter97 Porter97/app\models(8).py

Last active Feb 12, 2020
What would you like to do?
class User(db.Model, UserMixin):
collections = db.relationship('Collection', backref='author', lazy='dynamic', cascade='all, delete-orphan')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.