Fixed order_by chaining issue (#265)

This commit is contained in:
Ross Lawley
2013-04-12 15:56:40 +00:00
parent f10e946896
commit c9a5710554
2 changed files with 3 additions and 1 deletions

View File

@@ -1321,7 +1321,8 @@ class QuerySet(object):
key_list.append((key, direction))
self._ordering = key_list
if self._cursor_obj:
self._cursor_obj.sort(key_list)
return self
def explain(self, format=False):