title: using list index lookup within a template loop in django
body: <p>Basically, what I want to do is have the template system loop through two independent lists to fill two columns of a table.  My approach was to use an index list (numList) as a way to access the same index of the two lists.  I tried using the dot notation for list index lookup within a template loop but it doesn't seem to work in the loop.  Any ideas on how I can remedy this?</p>
  
  <pre><code>numList = [0, 1, 2, 3]
  placeList = ['park', 'store', 'home', 'school']
  speakerList = ['bill', 'john', 'jake', 'tony']
  
          &lt;table&gt;
              &lt;tr&gt;
                  &lt;th&gt;Location&lt;/th&gt;
                  &lt;th&gt;Time&lt;/th&gt;
                  &lt;th&gt;Speaker&lt;/th&gt;
              &lt;/tr&gt;
              {% for num in numList %}
               &lt;tr&gt;
                  &lt;td&gt;{{ placeList.num }}&lt;/td&gt;
                  &lt;td&gt;1:30&lt;/td&gt;
                  &lt;td&gt;{{ speakerList.num }}&lt;/td&gt;
               &lt;/tr&gt;
               {% endfor %}
          &lt;/table&gt;
  </code></pre>