From c6eb0e4a3f51c11d05e4d18340815c2e371481b3 Mon Sep 17 00:00:00 2001 From: "tangshuangpku@hotmail.com" Date: Mon, 6 Jun 2016 21:43:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=B0=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/templates/base_AdminLTE.html | 2 +- web/web.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/templates/base_AdminLTE.html b/web/templates/base_AdminLTE.html index c965a0c..bf1d229 100644 --- a/web/templates/base_AdminLTE.html +++ b/web/templates/base_AdminLTE.html @@ -141,7 +141,7 @@ Users
  • Admin diff --git a/web/web.py b/web/web.py index 21e838c..b7c1bfb 100755 --- a/web/web.py +++ b/web/web.py @@ -352,9 +352,9 @@ def userquery(): return userqueryView.as_view() -@app.route("/notification/list/", methods=['GET']) +@app.route("/notification/", methods=['GET']) @administration_required -def create_notification(): +def notification(): return NotificationView.as_view()