添加新接口
This commit is contained in:
parent
533d8d6192
commit
c6eb0e4a3f
|
@ -141,7 +141,7 @@
|
|||
<a href='/user/list/'><i class="fa fa-users"></i> <span class="nav-label">Users</span></a>
|
||||
</li>
|
||||
<li id="nav_Notification">
|
||||
<a href='/notification/list/'><i class="fa fa-envelope"></i> <span class="nav-label">Notification</span></a>
|
||||
<a href='/notification/'><i class="fa fa-envelope"></i> <span class="nav-label">Notification</span></a>
|
||||
</li>
|
||||
<li id="admin">
|
||||
<a href='/admin/'><i class="fa fa-gears"></i> <span class="nav-label">Admin</span></a>
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue