diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-04-09 09:30:20 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-04-09 09:30:20 +0200 |
commit | 1d2a7fbce2abcde13b9741d7fa6ec83c074b7c0a (patch) | |
tree | c5b8434d90450c921e8bbb90aad4781e4135fb62 /src/web/models/user.py | |
parent | cerificate renewed (diff) | |
download | newspipe-1d2a7fbce2abcde13b9741d7fa6ec83c074b7c0a.tar.gz newspipe-1d2a7fbce2abcde13b9741d7fa6ec83c074b7c0a.tar.bz2 newspipe-1d2a7fbce2abcde13b9741d7fa6ec83c074b7c0a.zip |
Removed prototype code for bookmarks from master branch.
Diffstat (limited to 'src/web/models/user.py')
-rw-r--r-- | src/web/models/user.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/web/models/user.py b/src/web/models/user.py index d2b3c52a..460958e0 100644 --- a/src/web/models/user.py +++ b/src/web/models/user.py @@ -38,7 +38,6 @@ from bootstrap import db from web.models.right_mixin import RightMixin from web.models.category import Category from web.models.feed import Feed -from web.models.bookmark import Bookmark class User(db.Model, UserMixin, RightMixin): @@ -72,9 +71,6 @@ class User(db.Model, UserMixin, RightMixin): feeds = db.relationship('Feed', backref='user', cascade='all, delete-orphan', foreign_keys=[Feed.user_id]) - bookmarks = db.relationship('Bookmark', backref='user', - cascade='all, delete-orphan', - foreign_keys=[Bookmark.user_id]) @staticmethod def _fields_base_write(): |