Skip to content

Commit 77f9d34

Browse files
committed
fix InExpression convert_path_name
1 parent 8331701 commit 77f9d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_mongodb_backend/query_conversion/expression_converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def convert(cls, in_args):
131131
field_expr, values = in_args
132132
# Check if first argument is a simple field reference
133133
# Check if second argument is a list of simple values
134-
if (field_name := cls.convert_field_name(field_expr)) and (
134+
if (field_name := cls.convert_path_name(field_expr)) and (
135135
isinstance(values, list | tuple | set)
136136
and all(cls.is_simple_value(v) for v in values)
137137
):

0 commit comments

Comments
 (0)