Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @userinfo.route("/")
- @userinfo.route("/home")
- def home():
- # .query.all() means I get all info from the database.
- Posts_db = Posts.query.all()
- Posts_db = Posts_db
- return render_template('home.html', Posts_db=Posts_db , title='home')
Advertisement
Add Comment
Please, Sign In to add comment