check posts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not
2023-07-13 19:50:45 +10:00
parent a57a964c60
commit 6094f277b5
4 changed files with 33 additions and 2 deletions

10
app.py
View File

@@ -56,6 +56,16 @@ def page_board(board_id):
return render_template("board.html", board_id=board_id, boards=board_list, board_threads=b_threads)
@app.route("/db_posts")
def page_posts_from_db():
posts = db.collection('posts')
postos = [ p for p in postos]
return render_template("interactive-posts.html", postos=postos)
# @app.route('/post_my_post', method=['POST'])
# def post_a_post():
# pass