From d91479a287fcda93415569bbf872df15bc6cdbf8 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Thu, 13 Mar 2008 11:48:25 +0000 Subject: 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 --- django/db/models/sql/datastructures.py | 4 ++++ 1 file changed, 4 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 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 -- cgit v1.3