title: Making a GET request with filter
body: <p>My model is the following</p>
  <pre><code>class PokerRoom(models.Model):
  STATUS = ((&quot;Pending&quot;, &quot;Pending&quot;), (&quot;Finished&quot;, &quot;Finished&quot;))
  
  status = models.CharField(
      max_length=11,
      choices=STATUS,
      verbose_name=_(&quot;Status da Story&quot;),
      default=&quot;Pending&quot;,
  )
  name = models.CharField(max_length=200, verbose_name=_(&quot;room name&quot;), validators=[alphanumeric])
  slug = models.CharField(max_length=200, verbose_name=_(&quot;room slug&quot;), null=True, blank=True)
  id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
  styleCards = MultiSelectField(choices=CHOICES, default=FIBONACCI)
  datetime = models.DateTimeField(null=True, blank=True)
  date = models.CharField(max_length=10, null=True, blank=True)
  user = models.ForeignKey(User, on_delete=DO_NOTHING)
  first_name_user = models.CharField(
      max_length=200, verbose_name=_(&quot;user name&quot;), null=True, blank=True
  )
  deck = models.ForeignKey(Pack, on_delete=models.CASCADE)
  index = models.IntegerField(
      null=True, blank=True, verbose_name=_(&quot;story being voted&quot;)
  )
  </code></pre>
  <p>I'm my application, I want to make a searchbar for &quot;status&quot; and &quot;name&quot; and do a GET request with those filter that would be provided by the client when he make the search. But I don't know how to do that in my views.py</p>
  <p>I was thiking in a GET method like this, but I don't know how to get the planningName and planningStatus from the frontend.</p>
  <pre><code>    def get(self, request, pk):
      &quot;&quot;&quot;GET of PokerRoom historic&quot;&quot;&quot;
      user = request.user
      pk = self.kwargs[&quot;pk&quot;]
      planningName = 
      planningStatus = 
      moderatorRoom = PokerRoom.objects.values(&quot;id&quot;, &quot;first_name_user&quot;, &quot;date&quot;, &quot;name&quot;, &quot;status&quot;, &quot;styleCards&quot;, &quot;datetime&quot;, 'slug'
      ).filter(Q(user= user) | Q(name=planningName) | Q(status=planningStatus)).order_by(&quot;-datetime&quot;)
  </code></pre>
  <p>Can someone helpe me?</p>