I have a dictionary with 6 keys and each key's value is a list with 100 elements
my_dict = {"Key1":["name1", "name2", ..., "name100"],
"Key2":["id1", "id2", ..., "id100"],
...
"Key6":["type1", "type2", ..., "type100"]}
I am trying to make a table that is 100 x 6, where each column will be a list. I have tried everything in the template and come up short every time. Is there some simple concept I am missing? Should I be manipulating the data in the backend to make it more manageable?
Edit: I probably should be more clear. I can render my template fine, I can put stuff in a table, just not how I want to.
I can do things like
<tr>
{% for i in my_dict.items %}
<td>{{i}}</td>
{% endfor %}
</tr>
Giving me 1 row with 6 columns
or
{% for items in dict.items %}
<tr>
{% for item in items %}
<td>{{item}}</td>
{% endfor %}
</tr>
{% endfor %}
giving me 6 rows and 100 columns
I could do
{% for item in dict.Key1 %}
<tr>
<td>{{item}}</td>
</tr>
{% endfor %}
Giving me 1 column and 100 rows
But I need each item, in each list, in its own column.