toastdriven/django-tastypie — pull request #785 by MiguelCarranza (2013-01-26 21:13:15+00:00)
Title: Fix filter_value_to_python

Currently, it is not possible to use __in filters when a list is provided to Resource.get_list through kwargs.

The following code produces an error ("int() argument must be a string or a number, not 'list'")

```python
def get_concepts(self, request, **kwargs):
concept_resource = ConceptResource()
# ids actually generated in a different way
ids = ["1", "2", "3", "4"]
return concept_resource.get_list(request, id__in=ids)
```

Basically, this pull request allows to use a list like 'ids' in kwargs, so that we could filter by, for instance, a set of primary keys.