title: Print out a list of items with Django
body: <p>I'm developing a Django project and i'm trying to solve an issue.</p>
  
  <p>My main scope is getting a JSON file through a url and print out the data into a table(HTML).</p>
  
  <p>To be more clearly, i got an Object like referred below and every record i would like to printed into my table.</p>
  
  <pre><code>{
  "myData": [{
              "name": "John",
              "surname": "Williams",
              "birthday": "05/12/1997",
          }, {
              "name": "John",
              "surname": "Williams",
              "birthday": "05/12/1997",
          },]}
  
  
  &lt;table class="table table-striped table-hover table-bordered"&gt;
            &lt;thead class="thead-dark"&gt;
              &lt;tr&gt;
                  &lt;th&gt;First Name&lt;/th&gt;
                  &lt;th&gt;Last Name&lt;/th&gt;
                  &lt;th&gt;Birth Day&lt;/th&gt;
              &lt;/tr&gt;
            &lt;/thead&gt;
            &lt;tbody&gt;
                {% for myData in range(20) %}
                  &lt;tr&gt;
                      &lt;td&gt; {{ myData.name }} &lt;/td&gt;
                      &lt;td&gt; {{ myData.surname }} &lt;/td&gt;
                      &lt;td&gt; {{ myData.birthday }} &lt;/td&gt;
                  &lt;/tr&gt;
                {% endfor %}
            &lt;/tbody&gt;
          &lt;/table&gt;
  </code></pre>
  
  <p>I find it as a very common implementation but still i can't find a solution. Also when i'm trying to run the code below inside my <code>views.py</code> file everything works great but If i'm trying to send data into an <code>.html</code> file i got multiple errors.</p>
  
  <pre><code>for i in range(5):
      print name[i]
  </code></pre>
  
  <p>The first one when i wrote </p>
  
  <pre><code>{% for x in range(20) %}
  </code></pre>
  
  <p>I got this error :</p>
  
  <blockquote>
    <p>Could not parse the remainder: '(20)' from 'range(20)'</p>
  </blockquote>
  
  <p>Then I'm trying to pass range(20) as a variable from views.py file so i change the object line of code as</p>
  
  <pre><code>Object = {'name': name, .... , 'range': range(20)}
  </code></pre>
  
  <p>This time i was lucky with the remainder error but still unlucky with my data.</p>