title: Django Rest Framework filter class method with two parameters
body: <p>I have a model which relates to many models, like this:</p>
  
  <pre><code>class Father:
     son = # Foreign key to Son model
  
  class Son:
     @property
     def son_daughters:
        if ... :
           obj = TypeA.objects.get(...)
        elif ... :
           obj = TypeB.objects.get(...)
        else:
           obj = TypeC.objects.get(...)
  
        return obj
  </code></pre>
  
  <p>I would like to get Father data from daughter name or type. I have this filter class where I need to send two query set parameters related to daughter in order to get daughter ids and apply it as a filter to Father. This is my filter class:</p>
  
  <pre><code>class FatherFilter(django_filters.rest_framework.FilterSet):
     def daughter(self, method_name, args, **kwargs):
  
          print(method_name, args, kwargs)
          ...
  
     daughter_id = django_filters.NumberFilter(method=daughter)
  </code></pre>
  
  <p>But when I call this endpoint I just get one query parameter and not all.</p>
  
  <p>Is there a way to get the query parameters inside this method instead of just one?</p>
  
  <p>Thanks in advance.</p>