You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
297 B

from flask import Blueprint, render_template
bp = Blueprint("posts", __name__)
@bp.route("/create", methods=("GET", "POST"))
def create():
return render_template("posts/create.html")
@bp.route("/posts")
def posts():
posts = []
return render_template("posts/posts.html", posts=posts)