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 75b5ceb commit 8b0c247Copy full SHA for 8b0c247
django_mongodb_backend/query_utils.py
@@ -76,6 +76,8 @@ def is_constant_value(value):
76
# This should be remove when the same thing above.
77
if hasattr(value, "get_source_expressions"):
78
simple_sub_expressions = all(map(is_constant_value, value.get_source_expressions()))
79
+ else:
80
+ simple_sub_expressions = True
81
return (
82
simple_sub_expressions
83
and isinstance(value, Value)
0 commit comments