title: Django, using ANY in a query
body: <p>Basically i have to do this:</p>
  
  <pre><code>WHERE NOT (`video_video`.`id` = **ANY** (SELECT `userPreferences_history`.`video_id` FROM `userPreferences_history`))
  </code></pre>
  
  <p>but using:</p>
  
  <pre><code>.exclude(id=history_list)
  </code></pre>
  
  <p>i just get:</p>
  
  <pre><code>WHERE NOT (`video_video`.`id` = (SELECT `userPreferences_history`.`video_id` FROM `userPreferences_history`))
  </code></pre>
  
  <p>resulting in a <strong>'Subquery returns more than 1 row</strong> when i have more than 1 result from the subquery.</p>
  
  <p>How can i do this?</p>
  
  <p><strong>Fixed</strong> following this way: <a href="https://stackoverflow.com/questions/912540/django-object-multiple-exclude">Django object multiple exclude()</a></p>