diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index cf7c27d9a4a..f682c71d079 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -286,7 +286,7 @@ class Query(object): if with_limits: if self.high_mark is not None: result.append('LIMIT %d' % (self.high_mark - self.low_mark)) - if self.low_mark is not None: + if self.low_mark: if self.high_mark is None: val = self.connection.ops.no_limit_value() if val: