title: Blank page due to "for template tag" in Django
body: <p>My web page was working fine until I added {% for %} in my template file.</p>
  <p>This is my home.html file</p>
  <pre><code>&lt;body&gt;
  &lt;div&gt;
      &lt;div&gt;
  {% if not status %}
              &lt;a href=&quot;/gmailAuthenticate&quot; onclick=&quot;gmailAuthenticate()&quot; title=&quot;Google&quot;&gt;Google&lt;/a&gt;
  {% else %}
  {% for item in contexto %}
  &lt;p&gt;Your are verified&lt;/p&gt;
              &lt;form id=&quot;myform&quot; method=&quot;post&quot; action=&quot;{% url 'logout' id=item.id %}/?next={{request.path }}&quot;&gt;
      {% csrf_token %}
      &lt;input type=&quot;hidden&quot; name=&quot;name&quot; value=&quot;value&quot; /&gt;
      &lt;a onclick=&quot;document.getElementById('myform').submit();&quot;&gt;disconnect&lt;/a&gt;
  &lt;/form&gt;
  {% endfor %}
  {% endif %}
      &lt;/div&gt;
  
  &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  <p>And this is my home function</p>
  <pre><code>def home(request):
      status = True
      contexto = CredentialsModel.objects.all()
  
      if not request.user.is_authenticated:
          return HttpResponseRedirect('admin')
  
      storage = DjangoORMStorage(CredentialsModel, 'id', request.user, 'credential')
      credential = storage.get()
      try:
          access_token = credential.access_token
          resp, cont = Http().request(&quot;https://www.googleapis.com/auth/gmail.readonly&quot;,
                                      headers={'Host': 'www.googleapis.com',
                                              'Authorization': access_token})
      except:
          status = False
          print('Not Found')
  
      return render(request, 'index.html', {'status': status})
  </code></pre>
  <p>I´ve checked my errors.log file, but nothing is displayed</p>