diff --git a/django/db/models/lookups.py b/django/db/models/lookups.py index 9b4bdb9bd6..dded81da82 100644 --- a/django/db/models/lookups.py +++ b/django/db/models/lookups.py @@ -309,7 +309,7 @@ class FieldGetDbPrepValueIterableMixin(FieldGetDbPrepValueMixin): return sql, tuple(params) -class PostgresOperatorLookup(FieldGetDbPrepValueMixin, Lookup): +class PostgresOperatorLookup(Lookup): """Lookup defined by operators on PostgreSQL.""" postgres_operator = None