title: How to convert a list in to queryset django
body: <p>I have a queryset(which is filtered actually) as below</p>
  
  <pre><code>posts = [&lt;Post: published&gt;, &lt;Post: needs&gt;, &lt;Post: be&gt;, &lt;Post: issues&gt;, &lt;Post: to&gt;, &lt;Post: tags&gt;]
  </code></pre>
  
  <p>But i need to filter the above queryset manually with the some field coming from another table/place etc.</p>
  
  <p>so i had filtered something like below</p>
  
  <pre><code>custom_list = []
  
  for rec in posts:
      if 'string_or_field' in rec.tags.all():
          custom_list.extend(rec)
  
          or
  
  custom_list = [rec for rec in posts if 'string_or_field' in rec.tags.all()]
  </code></pre>
  
  <p>So as we can observe above we are creating a <code>list</code> by filtering a <code>queryset</code>, but i want the result as a <code>queryset</code>.</p>
  
  <p>So is there any way to convert the <code>list</code> to <code>queryset</code> object ?</p>