Skip to content

Commit ebefda7

Browse files
auvipypauloxnet
andauthored
Update rest_framework/compat.py
Co-authored-by: Paolo Melchiorre <[email protected]>
1 parent 28bd95e commit ebefda7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def _get_children_from_q(q):
191191
elif isinstance(child, tuple):
192192
lhs, rhs = child
193193
yield lhs
194-
if hasattr(rhs, "resolve_expression"):
194+
if hasattr(rhs, 'resolve_expression'):
195195
yield from _get_paths_from_expression(rhs)
196196
elif hasattr(child, "resolve_expression"):
197197
yield from _get_paths_from_expression(child)

0 commit comments

Comments
 (0)