title: How do you use the django-filter package with a list of parameters?
body: <p>I want to filter my model with <a href="https://github.com/carltongibson/django-filter" rel="nofollow noreferrer">django-filter</a>. It works fine if I filter by one id like:</p>
  <pre><code>http://localhost:8000/accommodations?accommodationType_id=1
  </code></pre>
  <p>But I don't know how I can filter by multiple ids like.</p>
  <pre><code>http://localhost:8000/accommodations?accommodationType_id=1,2
  </code></pre>
  <p>My actual <code>ViewSet</code> looks like this:</p>
  <pre><code>class AccommodationViewSet(viewsets.ReadOnlyModelViewSet):
      &quot;&quot;&quot;
          REST API endpoint for 'accommodation' resource
      &quot;&quot;&quot;
      queryset = Accommodation.objects.all()
      serializer_class = AccommodationSerializer
      filter_backends = (filters.DjangoFilterBackend,)
      filter_fields = ('accommodationType_id', 'name')
  </code></pre>
  <p>I hope there is a solution.</p>