From 231e735c07db00dbb6f20f4459cd9da93af4c201 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Wed, 27 Feb 2008 02:15:41 +0000 Subject: 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 --- django/db/models/sql/datastructures.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'django/db/models/sql/datastructures.py') 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). -- cgit v1.3