summaryrefslogtreecommitdiff
path: root/django/db/models/sql/datastructures.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/models/sql/datastructures.py')
-rw-r--r--django/db/models/sql/datastructures.py4
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