We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d121826 commit 28bd95eCopy full SHA for 28bd95e
rest_framework/compat.py
@@ -177,7 +177,7 @@ def ip_address_validators(protocol, unpack_ipv4):
177
def _get_paths_from_expression(expr):
178
if isinstance(expr, models.F):
179
yield expr.name
180
- elif hasattr(expr, "flatten"):
+ elif hasattr(expr, 'flatten'):
181
for child in expr.flatten():
182
if isinstance(child, models.F):
183
yield child.name
0 commit comments