Use the cache for the following page
This commit is contained in:
5
app.py
5
app.py
@@ -1685,10 +1685,7 @@ def following():
|
||||
abort(404)
|
||||
|
||||
following, older_than, newer_than = paginated_query(DB.activities, q)
|
||||
following = [
|
||||
(doc["remote_id"], get_backend().fetch_iri(doc["activity"]["object"]))
|
||||
for doc in following
|
||||
]
|
||||
following = [doc["meta"]["object"] for doc in following]
|
||||
return render_template(
|
||||
"following.html",
|
||||
following_data=following,
|
||||
|
Reference in New Issue
Block a user