forked from MarseyWorld/MarseyWorld
fddf
parent
1adc1c3cdb
commit
75850e8c18
|
@ -44,7 +44,7 @@ def participation_stats(v):
|
||||||
@auth_desired
|
@auth_desired
|
||||||
def patrons(v):
|
def patrons(v):
|
||||||
if v and v.is_banned and not v.unban_utc: return render_template("seized.html")
|
if v and v.is_banned and not v.unban_utc: return render_template("seized.html")
|
||||||
users = [x for x in g.db.query(User).filter(User.patron > 0).order_by(User.patron.desc()).all()]
|
users = g.db.query(User).filter(User.patron > 0).order_by(User.patron.desc()).all()
|
||||||
return render_template("patrons.html", v=v, users=users)
|
return render_template("patrons.html", v=v, users=users)
|
||||||
|
|
||||||
@app.get("/admins")
|
@app.get("/admins")
|
||||||
|
|
Loading…
Reference in New Issue