This commit is contained in:
2
app.py
2
app.py
@@ -60,7 +60,7 @@ def page_board(board_id):
|
|||||||
@app.route("/db_posts")
|
@app.route("/db_posts")
|
||||||
def page_posts_from_db():
|
def page_posts_from_db():
|
||||||
|
|
||||||
posts = db.collection('posts')
|
postos = db.collection('posts')
|
||||||
postos = [ p for p in postos]
|
postos = [ p for p in postos]
|
||||||
|
|
||||||
return render_template("interactive-posts.html", postos=postos)
|
return render_template("interactive-posts.html", postos=postos)
|
||||||
|
|||||||
Reference in New Issue
Block a user