title: Django Custom Inclusion Tags
body: <p>I'm trying to build my own template tags. 
  I have no idea why I getting these errors. I'm following the Django doc's.</p>
  
  <p>This is my app's file structure:</p>
  
  <pre><code>pollquiz/
      __init__.py
      show_pollquiz.html
      showpollquiz.py
  </code></pre>
  
  <p>This is showpollquiz.py:</p>
  
  <pre><code>from django import template
  from pollquiz.models import PollQuiz, Choice
  register = template.Library()
  
  @register.inclusion_tag('show_pollquiz.html')
  def show_poll():
      poll = Choice.objects.all()
      return { 'poll' : poll }
  </code></pre>
  
  <p>html file:</p>
  
  <pre><code>&lt;ul&gt;
  {% for poll in poll 
      &lt;li&gt;{{ poll.pollquiz }}&lt;/li&gt;
  {% endfor 
  &lt;/ul&gt;
  </code></pre>
  
  <p>in my base.html file im am including like this</p>
  
  <pre><code>{% load showpollquiz %}
  and
  {% poll_quiz %}
  </code></pre>
  
  <p>Bu then I get the the error:</p>
  
  <pre><code>Exception Value: Caught an exception while rendering: show_pollquiz.html
  </code></pre>
  
  <p>I have no idea why this happens. Any ideas? Please keep in mind I'm still new at Django</p>