forked from rDrama/rDrama
sneed
parent
c19bd1a19f
commit
65d3dd44ba
|
@ -241,7 +241,7 @@ def participation_stats(v):
|
|||
|
||||
data = {"valid_users": g.db.query(User).count(),
|
||||
"private_users": g.db.query(User).filter_by(is_private=False).count(),
|
||||
"banned_users": g.db.query(User).filter(User.is_banned > 0, User.unban_utc == None).count(),
|
||||
"banned_users": g.db.query(User).filter(User.is_banned > 0).count(),
|
||||
"verified_users": g.db.query(User).filter_by(is_activated=True).count(),
|
||||
"signups_last_24h": g.db.query(User).filter(User.created_utc > day).count(),
|
||||
"total_posts": g.db.query(Submission).count(),
|
||||
|
|
Loading…
Reference in New Issue