title: django-filter searching on multiple fields and models
body: <p>I'm looking for a way to filter two inputs(<em><strong>name</strong></em> and <em><strong>place</strong></em>) from two models (Photographer and Location); but, MultipleChoiceFilter seems like it doesn't work for me because I need to add more <strong>complex logic</strong> which performs in my custom filter as below.</p>
  <pre><code>from django.db.models import Q
  from django_filters import rest_framework as filters
  
  
  class SearchResultFilter(filters.FilterSet):
      name = filters.CharFilter('Photographer')
      place = filters.CharFilter(method='location_filter', distinct=True)
  
      class Meta:
          model = models.Photographer
          fields = ('name')
  
     def location_filter(self, queryset, name, value):
         &quot;&quot;&quot;My complex logic&quot;&quot;&quot;
           .
           .
           .
         model = models.Location.filter(Q(location__icontains=value))
         return model
  </code></pre>
  <p>The question is &quot; Is there a way I can put <em><strong>name</strong></em> input field in my location_filter, so that I can filter two inputs (<em><strong>name</strong></em> and <em><strong>place</strong></em>) in this function and return a wanted querySet from here&quot;.</p>
  <p>I tried to use self.name in location_filter; however, an error log produced. I guess &quot;name&quot; here is not an class variable</p>