Answers for "how to make dinamic table in jinja python"

0

how to make dinamic table in jinja python

<table style="width:100%", border="1">
        {% for item in Description %}    
        <tr>               
            <td>{{Description[loop.index0 ]}}</td>
            <td>{{Location[loop.index0]}}</td>
            <td>{{Status[loop.index0]}}</td>                            
        </tr>
        {% endfor %}    
</table>
Posted by: Guest on April-22-2022
0

how to make dinamic table in jinja python

{% for item in my_list %}    
        <tr>               
            <td>{{ item.description }}</td>
            <td>{{ item.location }}</td>
            <td>{{ item.status }}</td>                            
        </tr>
    {% endfor %}
Posted by: Guest on April-22-2022

Python Answers by Framework

Browse Popular Code Answers by Language