Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

jinja

  1. P

    Python Flask: How do you loop over items in a database with SQLAlchemy?

    Hi, I am trying to loop over database entries for books and display them on an e-commerce page. The books are stored in an SQLAlchemy database with information on title, author, and price. I want to loop through the database and display the information for each book object in the database...
  2. P

    Python Flask and Jinja syntax. How to get a name to show on another page?

    I am trying to make a web app using Flask, but I am having trouble with the Jinja syntax. I am following CS50. I want to take the student's name and dorm from index.html and display it on success.html. However, I am unable to do this. All that displays is "You have successfully registered...
Back
Top Bottom