pull/221/head
parent
460e182451
commit
df9f926666
|
@ -94,9 +94,9 @@ def stats():
|
|||
"Marseys": "{:,}".format(g.db.query(Emoji).filter(Emoji.kind=="Marsey", Emoji.submitter_id==None).count()),
|
||||
"Total emojis": "{:,}".format(g.db.query(Emoji).filter(Emoji.submitter_id==None).count()),
|
||||
"Users": "{:,}".format(g.db.query(User).count()),
|
||||
"Private users": "{:,}".format(g.db.query(User).filter_by(is_private=True).count()),
|
||||
"Banned users": "{:,}".format(g.db.query(User).filter(User.is_banned != None).count()),
|
||||
"Verified email users": "{:,}".format(g.db.query(User).filter_by(email_verified=True).count()),
|
||||
"Users with a private profile": "{:,}".format(g.db.query(User).filter_by(is_private=True).count()),
|
||||
"Users with a verified email": "{:,}".format(g.db.query(User).filter_by(email_verified=True).count()),
|
||||
"Coins in circulation": "{:,}".format(g.db.query(func.sum(User.coins)).scalar()),
|
||||
"Total shop sales": "{:,}".format(g.db.query(func.sum(User.coins_spent)).scalar()),
|
||||
"Signups last 24h": "{:,}".format(g.db.query(User).filter(User.created_utc > day).count()),
|
||||
|
|
Loading…
Reference in New Issue