fdfd
This commit is contained in:
parent
c135832749
commit
93a4cd28db
1 changed files with 0 additions and 9 deletions
|
@ -20,15 +20,6 @@ from files.__main__ import app, cache
|
||||||
from .front import frontlist
|
from .front import frontlist
|
||||||
from files.helpers.discord import add_role
|
from files.helpers.discord import add_role
|
||||||
|
|
||||||
@app.get("/admin/comment_count")
|
|
||||||
@admin_level_required(3)
|
|
||||||
def comment_count(v):
|
|
||||||
for p in g.db.query(Submission).options(lazyload('*')).all():
|
|
||||||
p.comment_count = len(p.comments)
|
|
||||||
g.db.add(p)
|
|
||||||
return "sex"
|
|
||||||
|
|
||||||
|
|
||||||
@app.get("/admin/shadowbanned")
|
@app.get("/admin/shadowbanned")
|
||||||
@auth_required
|
@auth_required
|
||||||
def shadowbanned(v):
|
def shadowbanned(v):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue