0

Nothing is appearing on /sheet, not even the header. However, the .csv file is generating as intended. Can you help figure out what is wrong with my process?

{% extends "layout.html" %}
    {% block body %}
        <h1>Submitted Itineraries</h1>

        <ul>
            {% for travel in holidayTravel %}
                <li> {{holidayTravel[0]}}, {{holidayTravel[1] }} {{holidayTravel[2]}} {{holidayTravel[4]}} at {{holidayTravel[3]}}-->

                </li>
            {% endfor %}

        </ul>

    {% endblock %}

I have a feeling that it has to do with how I'm using the list 'holidayTravel' but I'm spinning my wheels trying to figure out what I should be doing differently.

2
  • 1
    The distro layout.html does not have a body block. Did you mean {% block main %} instead of {% block body %}? Dec 8, 2019 at 16:15
  • Thank you! That helped immensely!
    – KayO133
    Dec 9, 2019 at 2:24

0

You must log in to answer this question.

Browse other questions tagged .