diff options
Diffstat (limited to 'django/db/models/sql/datastructures.py')
| -rw-r--r-- | django/db/models/sql/datastructures.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/django/db/models/sql/datastructures.py b/django/db/models/sql/datastructures.py index 42f2d8790d..02e4f930e1 100644 --- a/django/db/models/sql/datastructures.py +++ b/django/db/models/sql/datastructures.py @@ -2,13 +2,11 @@ Useful auxiliary data structures for query construction. Not useful outside the SQL domain. """ +# for backwards-compatibility in Django 1.11 +from django.core.exceptions import EmptyResultSet # NOQA: F401 from django.db.models.sql.constants import INNER, LOUTER -class EmptyResultSet(Exception): - pass - - class MultiJoin(Exception): """ Used by join construction code to indicate the point at which a |
