8 thoughts on “Flask Tutorial Web Development with Python 7- Dynamic Dashboard

  1. Don't be so sorry about talking about so much HTML. I learned so much from you using bootstrap. I feel very empowered now after learning about what it can provide and how to use it.

  2. In case anyone receives a 500 Internal Server Error here, this is what I did:
    – Notepad++ was defaulting to ANSI.
    – This caused an issue with the * in the HTML:
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">*</span></button>
    – I changed Encoding to UTF-8, saw the error and corrected it.
    – Refreshed the page, everything loads.

  3. What happens if you have another template lets say "gallery.html". How do you tell the HTML index page that you want that gallery page and how does it know where to place it within the document?
    I noticed there was only one {{ block body }} {{ endblock }} "tag" in the "header.html" file. So if you had many {{ block body }} {{ endblock }} "tags" how would the "header.html" page know the order in which to apply the templates?

  4. Hey Harrison, thank you so much for the tutorials. I'm having a trouble getting this working as you have it written (I copy pasted the example code). When I try to extend the header, I get a 500 error. If I just remove the {% extends "header.html" %} from dashboard.html, the page loads, though it is rendered improperly. Anyone have insight into what is causing this problem? Thanks for your time.

Leave a Reply

Your email address will not be published. Required fields are marked *