diff --git a/djongo/operations.py b/djongo/operations.py index d28bf53a..af0fe0f0 100644 --- a/djongo/operations.py +++ b/djongo/operations.py @@ -64,6 +64,9 @@ def adapt_decimalfield_value(self, value, max_digits=None, decimal_places=None): return None return bson.Decimal128(super().adapt_decimalfield_value(value, max_digits, decimal_places)) + def conditional_expression_supported_in_where_clause(self, expression): + return False + def convert_datefield_value(self, value, expression, connection): if isinstance(value, datetime.datetime): if settings.USE_TZ: