filter utility method got caught up in the python boolean dragnet

This commit is contained in:
Matthew Jones 2015-01-26 15:00:49 -05:00
parent 19c6e474cd
commit 698b58e19f

View File

@ -129,7 +129,7 @@ class FieldLookupBackend(BaseFilterBackend):
elif isinstance(field, models.BooleanField):
return to_python_boolean(value)
elif isinstance(field, RelatedObject):
return to_python_related(value)
return self.to_python_related(value)
else:
return field.to_python(value)