aboutsummaryrefslogtreecommitdiff
path: root/src/web/models/user.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2017-04-09 09:30:20 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2017-04-09 09:30:20 +0200
commit1d2a7fbce2abcde13b9741d7fa6ec83c074b7c0a (patch)
treec5b8434d90450c921e8bbb90aad4781e4135fb62 /src/web/models/user.py
parentcerificate renewed (diff)
downloadnewspipe-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.py4
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():
bgstack15