diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-03-13 11:48:25 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-03-13 11:48:25 +0000 |
| commit | d91479a287fcda93415569bbf872df15bc6cdbf8 (patch) | |
| tree | d1952af6c1e1deeb41fcb1b4a19cac803a0f24e3 /django/db/models/sql/datastructures.py | |
| parent | 53634d4cdd45a0623cfb7b4a16c34ca7a6c9c223 (diff) | |
queryset-refactor: Changed the return type of an internal function.
Previous polymorphic return type was dumb.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/models/sql/datastructures.py')
| -rw-r--r-- | django/db/models/sql/datastructures.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/django/db/models/sql/datastructures.py b/django/db/models/sql/datastructures.py index e1ab0eded7..bc21fb3b68 100644 --- a/django/db/models/sql/datastructures.py +++ b/django/db/models/sql/datastructures.py @@ -9,6 +9,10 @@ class EmptyResultSet(Exception): class FullResultSet(Exception): pass +class JoinError(Exception): + def __init__(self, level): + self.level = level + class Empty(object): pass |
