Ticket #12192: 12192-patch2.diff
File 12192-patch2.diff, 556 bytes (added by , 15 years ago) |
---|
-
django/db/models/sql/query.py
diff -r 1fe026327305 django/db/models/sql/query.py
a b 396 396 If 'with_limits' is False, any limit/offset information is not included 397 397 in the query. 398 398 """ 399 if with_limits and self.high_mark == self.low_mark: 400 return '', () 401 399 402 self.pre_sql_setup() 400 403 out_cols = self.get_columns(with_col_aliases) 401 404 ordering, ordering_group_by = self.get_ordering()