ZAMYLA CHAN: Whenever a user logs into your website or makes a purchase,
they're going to be redirected to a landing page.
Let's edit that to reflect the user's portfolio.
We'll want to display an HTML table with the user's portfolio-- that
is, all of the stocks they own, all of the shares owned for that stock,
the current price of that stock, and then the total value of each holding.
We'll also want to display the user's current cash
balance and the grand total of all of their cash and stocks.
So that's a lot of information from our database
that we're retrieving in Python.
It's rows upon rows of information that we ultimately
want to display in our HTML table.
So how do we do that?
Because we can't hard code the number of rows to insert.
Here's where Jinja documentation will come in handy.
Take a look at this for loop, which will allow
me to iterate over every stock in the variable "stocks," printing out
that stock's name.
So think about which variables you need to pass in to index.html.