admins are friends not food
paypigs is a bit... lol
This commit is contained in:
parent
79b9c08f6c
commit
37841c9b0f
1 changed files with 0 additions and 2 deletions
|
@ -192,7 +192,6 @@ def cached_chart(kind, site):
|
||||||
|
|
||||||
|
|
||||||
@app.get("/patrons")
|
@app.get("/patrons")
|
||||||
@app.get("/paypigs")
|
|
||||||
@admin_level_required(3)
|
@admin_level_required(3)
|
||||||
def patrons(v):
|
def patrons(v):
|
||||||
users = g.db.query(User).filter(User.patron > 0).order_by(User.patron.desc(), User.id).all()
|
users = g.db.query(User).filter(User.patron > 0).order_by(User.patron.desc(), User.id).all()
|
||||||
|
@ -200,7 +199,6 @@ def patrons(v):
|
||||||
return render_template("patrons.html", v=v, users=users)
|
return render_template("patrons.html", v=v, users=users)
|
||||||
|
|
||||||
@app.get("/admins")
|
@app.get("/admins")
|
||||||
@app.get("/badmins")
|
|
||||||
@auth_desired
|
@auth_desired
|
||||||
def admins(v):
|
def admins(v):
|
||||||
if v and v.admin_level > 2:
|
if v and v.admin_level > 2:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue