From f925d89d11d4e59c39a040bda0fe21cd1c99f7fb Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 30 Jan 2006 02:11:21 +0000 Subject: [PATCH] magic-removal: Changed QuerySet._clone() to clone where, params and tables git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2161 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/query.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/django/db/models/query.py b/django/db/models/query.py index 9d0d6b4ac6..d9c5f4d6ff 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -167,6 +167,9 @@ class QuerySet(object): c._select_related = self._select_related c._distinct = self._distinct c._select = self._select + c._where = self._where + c._params = self._params + c._tables = self._tables c._offset = self._offset c._limit = self._limit return c