title: Django Boolean Queryset Filter Not Working
body: <p>This has been frustrating me for the better part of an hour.</p>
  
  <p>I have the following model:</p>
  
  <pre><code>sold= models.BooleanField(default=False)
  </code></pre>
  
  <p>And the following view code:</p>
  
  <pre><code>properties = Property.objects.filter(sold=False).order_by('-created_on');
  </code></pre>
  
  <p>And the following values in my sqlite3 database:</p>
  
  <pre><code> sqlite&gt; select sold from clients_property;
  1
  1
  1
  1
  1
  </code></pre>
  
  <p>And the following template code DOES work (as in, hides the sold items): </p>
  
  <pre><code>{% if not property.sold %}
  </code></pre>
  
  <p>Anyone know why the query set filter isn't working or why I'm doing it wrong?  I've tried:</p>
  
  <pre><code>sold="1"
  sold=1
  sold="false"
  sold=False
  sold="False"
  </code></pre>