Skip to content

Commit 28bd95e

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

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
@@ -177,7 +177,7 @@ def ip_address_validators(protocol, unpack_ipv4):
177177
def _get_paths_from_expression(expr):
178178
if isinstance(expr, models.F):
179179
yield expr.name
180-
elif hasattr(expr, "flatten"):
180+
elif hasattr(expr, 'flatten'):
181181
for child in expr.flatten():
182182
if isinstance(child, models.F):
183183
yield child.name

0 commit comments

Comments
 (0)