remotes/1693045480750635534/spooky-22
Aevann1 2021-08-22 21:13:08 +02:00
parent 75850e8c18
commit 521e9e38bd
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def participation_stats(v):
@auth_desired
def patrons(v):
if v and v.is_banned and not v.unban_utc: return render_template("seized.html")
users = g.db.query(User).filter(User.patron > 0).order_by(User.patron.desc()).all()
users = g.db.query(User).options(lazyload('*')).filter(User.patron > 0).order_by(User.patron.desc()).all()
return render_template("patrons.html", v=v, users=users)
@app.get("/admins")