summaryrefslogtreecommitdiff
path: root/django/db/models/sql/datastructures.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-02-27 02:15:41 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-02-27 02:15:41 +0000
commit231e735c07db00dbb6f20f4459cd9da93af4c201 (patch)
treeeaa1e14f6122ced35f20eb18fd29d6266d63d758 /django/db/models/sql/datastructures.py
parent014373b459e0925ad757a56d9b4f049bc4f776fc (diff)
queryset-refactor: Moved the Query subclasses into their own file.
Trying to keep file lengths to something manageable. git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/models/sql/datastructures.py')
-rw-r--r--django/db/models/sql/datastructures.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/django/db/models/sql/datastructures.py b/django/db/models/sql/datastructures.py
index ab03c72ea2..e1ab0eded7 100644
--- a/django/db/models/sql/datastructures.py
+++ b/django/db/models/sql/datastructures.py
@@ -9,6 +9,13 @@ class EmptyResultSet(Exception):
class FullResultSet(Exception):
pass
+class Empty(object):
+ pass
+
+class RawValue(object):
+ def __init__(self, value):
+ self.value = value
+
class Aggregate(object):
"""
Base class for all aggregate-related classes (min, max, avg, count, sum).