aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2017-06-11 23:35:16 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2017-06-11 23:35:16 +0200
commit4ccb68c60fdbfc9825d8fc2d8ecfdcdb39dbb625 (patch)
treea3db315de8822ddb288acd858a754c88aa390132 /src
parentFixed a problem with the version of chardet. (diff)
downloadnewspipe-4ccb68c60fdbfc9825d8fc2d8ecfdcdb39dbb625.tar.gz
newspipe-4ccb68c60fdbfc9825d8fc2d8ecfdcdb39dbb625.tar.bz2
newspipe-4ccb68c60fdbfc9825d8fc2d8ecfdcdb39dbb625.zip
test tag for bookmarks
Diffstat (limited to 'src')
-rw-r--r--src/web/views/bookmark.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/web/views/bookmark.py b/src/web/views/bookmark.py
index c80c9fdd..18098d83 100644
--- a/src/web/views/bookmark.py
+++ b/src/web/views/bookmark.py
@@ -43,6 +43,7 @@ from lib.data import import_pinboard_json
from bootstrap import db
from web.forms import BookmarkForm
from web.controllers import BookmarkController, BookmarkTagController
+from web.models import BookmarkTag
logger = logging.getLogger(__name__)
bookmarks_bp = Blueprint('bookmarks', __name__, url_prefix='/bookmarks')
@@ -93,6 +94,9 @@ def list_(per_page, status='all'):
.read(**filters) \
.order_by(desc('time'))
+ #tag_contr = BookmarkTagController(user_id)
+ #tag_contr.read().join(bookmarks).all()
+
page, per_page, offset = get_page_args()
pagination = Pagination(page=page, total=bookmarks.count(),
css_framework='bootstrap3',
bgstack15