aboutsummaryrefslogtreecommitdiff
path: root/app/views/notifications.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-13 17:55:28 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-13 18:04:07 +0100
commit4fdafefcd5b0267e3b9958f3dcc6b05a6eeb0906 (patch)
treeaa9aa3b351302353e2ff8eaf943654c0da22a15d /app/views/notifications.py
parentf3c433de06e19ae9a6e1706b4746d46e6a33d70c (diff)
downloadcheatdb-4fdafefcd5b0267e3b9958f3dcc6b05a6eeb0906.tar.xz
Add notifications
Fixes #28
Diffstat (limited to 'app/views/notifications.py')
-rw-r--r--app/views/notifications.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/notifications.py b/app/views/notifications.py
new file mode 100644
index 0000000..77108d7
--- /dev/null
+++ b/app/views/notifications.py
@@ -0,0 +1,9 @@
+from flask import *
+from flask_user import current_user, login_required
+from app import app
+from app.models import *
+
+@app.route("/notifications/")
+@login_required
+def notifications_page():
+ return render_template("notifications/list.html")