This commit is contained in:
Aevann1 2021-09-17 10:21:32 +02:00
parent 7b6f5d9def
commit 62a5278af4

View file

@ -10,6 +10,12 @@ defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "all").strip()
def slash_post():
return redirect("/")
@app.get("/testing")
def testing():
notifications = g.db.query(Notification).options(lazyload('*')).join(Notification.comment).limit(26)
notifications2 = g.db.query(Notification).join(Notification.comment).limit(26)
return "sex"
@app.get("/notifications")
@auth_required
def notifications(v):