aboutsummaryrefslogtreecommitdiff
path: root/src/web/controllers
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/controllers
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/controllers')
-rw-r--r--src/web/controllers/__init__.py3
-rw-r--r--src/web/controllers/bookmark.py20
2 files changed, 1 insertions, 22 deletions
diff --git a/src/web/controllers/__init__.py b/src/web/controllers/__init__.py
index dd497e9a..a1b89ea8 100644
--- a/src/web/controllers/__init__.py
+++ b/src/web/controllers/__init__.py
@@ -3,8 +3,7 @@ from .category import CategoryController
from .article import ArticleController
from .user import UserController
from .icon import IconController
-from .bookmark import BookmarkController
__all__ = ['FeedController', 'CategoryController', 'ArticleController',
- 'UserController', 'IconController', 'BookmarkController']
+ 'UserController', 'IconController']
diff --git a/src/web/controllers/bookmark.py b/src/web/controllers/bookmark.py
deleted file mode 100644
index f7dab9d8..00000000
--- a/src/web/controllers/bookmark.py
+++ /dev/null
@@ -1,20 +0,0 @@
-import logging
-import itertools
-from datetime import datetime, timedelta
-
-from bootstrap import db
-from .abstract import AbstractController
-from web.models import Bookmark
-
-logger = logging.getLogger(__name__)
-
-
-class BookmarkController(AbstractController):
- _db_cls = Bookmark
-
- def count_by_href(self, **filters):
- return self._count_by(Bookmark.href, filters)
-
- def update(self, filters, attrs, *args, **kwargs):
- #self.tag_objs = attrs['tags']
- return super().update(filters, attrs, *args, **kwargs)
bgstack15