aboutsummaryrefslogtreecommitdiff
path: root/newspipe/web/views/category.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-10 22:29:19 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-10 22:29:19 +0100
commit7a08a6b548e39a477aaf49b6213a2e06a0f3498a (patch)
tree775895d433100fbbe0efdb6759a2b14e5a999d30 /newspipe/web/views/category.py
parentremoved unused variable (diff)
downloadnewspipe-7a08a6b548e39a477aaf49b6213a2e06a0f3498a.tar.gz
newspipe-7a08a6b548e39a477aaf49b6213a2e06a0f3498a.tar.bz2
newspipe-7a08a6b548e39a477aaf49b6213a2e06a0f3498a.zip
cleaned imports
Diffstat (limited to 'newspipe/web/views/category.py')
-rw-r--r--newspipe/web/views/category.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/newspipe/web/views/category.py b/newspipe/web/views/category.py
index 9f1a7e83..3f65e854 100644
--- a/newspipe/web/views/category.py
+++ b/newspipe/web/views/category.py
@@ -1,11 +1,15 @@
-from flask import Blueprint, render_template, flash, redirect, url_for
+from flask import Blueprint, flash, redirect, render_template, url_for
from flask_babel import gettext
-from flask_login import login_required, current_user
+from flask_login import current_user, login_required
-from newspipe.web.forms import CategoryForm
+from newspipe.controllers import (
+ ArticleController,
+ CategoryController,
+ FeedController
+)
from newspipe.lib.utils import redirect_url
+from newspipe.web.forms import CategoryForm
from newspipe.web.lib.view_utils import etag_match
-from newspipe.controllers import ArticleController, FeedController, CategoryController
categories_bp = Blueprint("categories", __name__, url_prefix="/categories")
category_bp = Blueprint("category", __name__, url_prefix="/category")
bgstack15