Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion polymorphic/query_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def tree_node_correct_field_specs(my_model, node):
)
if new_expr:
node.children[i] = new_expr
else:
elif isinstance(child, models.Q):
# this Q object child is another Q object, recursively process this as well
tree_node_correct_field_specs(my_model, child)

Expand Down