diff options
Diffstat (limited to 'django/db/models/sql')
| -rw-r--r-- | django/db/models/sql/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index cf7c27d9a4..f682c71d07 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: |
