Ticket #9208: query.py.diff
File query.py.diff, 386 bytes (added by , 16 years ago) |
---|
-
./django/db/models/query.py
old new 352 352 obj = self._clone() 353 353 obj.query.set_limits(high=1) 354 354 obj.query.add_ordering('-%s' % latest_by) 355 obj.query.add_ordering('-%s' % 'pk') 355 356 return obj.get() 356 357 357 358 def in_bulk(self, id_list):