This commit is contained in:
parent
f1d5ef70ad
commit
b92b5c63b1
4
app.py
4
app.py
@ -60,8 +60,8 @@ 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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user