aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-10 13:49:05 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-10 13:49:05 +0200
commit1fcf0e677b691f7c07189a7757ae79668dc0ec41 (patch)
treeb4c74c887e18f3746d97174eb26c439d69e45b96 /src/web/views
parentNow useless function. (diff)
downloadnewspipe-1fcf0e677b691f7c07189a7757ae79668dc0ec41.tar.gz
newspipe-1fcf0e677b691f7c07189a7757ae79668dc0ec41.tar.bz2
newspipe-1fcf0e677b691f7c07189a7757ae79668dc0ec41.zip
Moved notifications module.
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/session_mgmt.py2
-rw-r--r--src/web/views/user.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/web/views/session_mgmt.py b/src/web/views/session_mgmt.py
index dc80516a..a3ef8e3c 100644
--- a/src/web/views/session_mgmt.py
+++ b/src/web/views/session_mgmt.py
@@ -16,7 +16,7 @@ import conf
from web.views.common import admin_role, api_role, login_user_bundle
from web.controllers import UserController
from web.forms import SignupForm, SigninForm
-from web import notifications
+from notifications import notifications
Principal(current_app)
# Create a permission with a single Need, in this case a RoleNeed.
diff --git a/src/web/views/user.py b/src/web/views/user.py
index 1ce16ade..8568439f 100644
--- a/src/web/views/user.py
+++ b/src/web/views/user.py
@@ -6,7 +6,8 @@ from flask.ext.babel import gettext
from flask.ext.login import login_required, current_user
import conf
-from web import utils, notifications
+from notifications import notifications
+from web import utils
from web.lib.user_utils import confirm_token
from web.controllers import (UserController, FeedController, ArticleController,
CategoryController)
bgstack15