title: django - q object filtering getlist
body: <p>I want to make an intersection by bringing intelligence,strength, and charm from the stat variable to the getlist, but it only comes out as a combination. What could be the reason? I'm waiting for your help.</p>
  <pre><code>class ProductListView(View):
  def get(self,request):
      category     = request.GET.get('category', None)
      sub_category = request.GET.get('sub_category', None)
      stat         = request.GET.getlist('stat', None)
  
      q=Q()
  
      if category:
          q &amp;=Q(sub_category__category__name=category)
  
      if sub_category:
          q &amp;=Q(sub_category__name=sub_category)
      
      if stat:
          q &amp;=Q(coursestat__stat__name__in=stat)
  
      
      products = Course.objects.filter(q).distinct()
      
      results=[{  &quot;course_id&quot;      : product.id,
                  &quot;thumbnail&quot;      : product.thumbnail_image_url,
                  &quot;user_name&quot;      : product.user.name,
                  &quot;sub_category&quot;   : product.sub_category.name,
                  &quot;course_name&quot;    : product.name,
                  &quot;price&quot;          : product.price,
                  &quot;payment_period&quot; : product.payment_period,
                  &quot;course_like&quot;    : product.like_set.count()
                  } for product in products]
          
      return JsonResponse({&quot;results&quot; : results})
  </code></pre>
  <p>The query parameters created by Postman are as follows.
  <a href="https://i.stack.imgur.com/yXkhY.png" rel="nofollow noreferrer">enter image description here</a></p>