Skip to content

Commit 310aa8c

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

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
@@ -193,7 +193,7 @@ def _get_children_from_q(q):
193193
yield lhs
194194
if hasattr(rhs, 'resolve_expression'):
195195
yield from _get_paths_from_expression(rhs)
196-
elif hasattr(child, "resolve_expression"):
196+
elif hasattr(child, 'resolve_expression'):
197197
yield from _get_paths_from_expression(child)
198198

199199
def get_referenced_base_fields_from_q(q):

0 commit comments

Comments
 (0)