mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 10:10:01 -03:30
filter utility method got caught up in the python boolean dragnet
This commit is contained in:
@@ -129,7 +129,7 @@ class FieldLookupBackend(BaseFilterBackend):
|
|||||||
elif isinstance(field, models.BooleanField):
|
elif isinstance(field, models.BooleanField):
|
||||||
return to_python_boolean(value)
|
return to_python_boolean(value)
|
||||||
elif isinstance(field, RelatedObject):
|
elif isinstance(field, RelatedObject):
|
||||||
return to_python_related(value)
|
return self.to_python_related(value)
|
||||||
else:
|
else:
|
||||||
return field.to_python(value)
|
return field.to_python(value)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user