This commit is contained in:
Marijn Jansen
2019-03-21 20:10:09 +01:00
parent f22d93aece
commit 19f6a530da
99 changed files with 37 additions and 38 deletions

1
app.py
View File

@@ -26,6 +26,7 @@ db.init_app(app)
@app.route("/")
def index():
posts = Post.get_posts()
print(posts[0].title)
return render_template("main/index.html", posts=posts)