title: How to filter a comma separated string in Django Rest Framework?
body: <p>I have some data that is similar to this:</p>
  <p><code>position: &quot;1B, 2B, 3B, SS&quot;</code></p>
  <p>I'd like to be able to run a query such as <code>/players/?position=1B</code>, however, this currently does not return anything because the items are separated by a comma.</p>
  <p>Here is stripped down version of the views.py:</p>
  <pre><code>class CharInFilter(django_filters.BaseInFilter, django_filters.CharFilter):
      pass
  
  class PlayerProfileFilter(django_filters.FilterSet):
      position = CharInFilter(field_name='display_position', lookup_expr='in')
  </code></pre>
  <p>Is there a way to filter the data in this way?</p>