Ticket #12258: order_by.patch
File order_by.patch, 472 bytes (added by , 15 years ago) |
---|
-
query.py
289 289 Performs the query and returns a single object matching the given 290 290 keyword arguments. 291 291 """ 292 clone = self.filter(*args, **kwargs) 292 clone = self.filter(*args, **kwargs).order_by() 293 293 num = len(clone) 294 294 if num == 1: 295 295 return clone._result_cache[0]