title: Checking for permission in django template not working
body: <p>I want to verify user permission in template. If a user has permission he/she will be able to access the template. After writing the below code and I granted the user permission, when I view the page it will fall on the <code>{% else %}</code> statement. showing that the user don't have permission. How can I go about this?</p>
  
  <pre><code>#CREATED A GROUP IN DJANGO ADMIN CALLED 'Premium'
  
  Class Paid(models.Model):
      #models here
  
      class Meta:
          permissions=(
               ("view_film","Can view film"),
          )
  </code></pre>
  
  <p>view </p>
  
  <pre><code>def eyo(request):
      return render_to_response('eyo.html',context_instance=RequestContext(request))
  </code></pre>
  
  <p>template</p>
  
  <pre><code>{% block content %}
  
    {% if perms.paid.can_view_film %}
  
        &lt;form action='https://www.test.com/checkout' method='post'&gt;
        &lt;input name='submit' type='submit' value='Checkout' /&gt;
       &lt;/form&gt;
  
     {% else %}
  
      &lt;p&gt; yo broke! &lt;/p&gt;
  
    {% endif %}
  </code></pre>