summaryrefslogtreecommitdiff
path: root/django/db/models/query_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/models/query_utils.py')
-rw-r--r--django/db/models/query_utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/django/db/models/query_utils.py b/django/db/models/query_utils.py
index 9463283f25..b85798f2aa 100644
--- a/django/db/models/query_utils.py
+++ b/django/db/models/query_utils.py
@@ -17,6 +17,9 @@ class QueryWrapper(object):
def __init__(self, sql, params):
self.data = sql, params
+ def as_sql(self, qn=None):
+ return self.data
+
class Q(tree.Node):
"""
Encapsulates filters as objects that can then be combined logically (using