diff options
Diffstat (limited to 'django/db/models/sql')
| -rw-r--r-- | django/db/models/sql/__init__.py | 3 | ||||
| -rw-r--r-- | django/db/models/sql/datastructures.py | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/django/db/models/sql/__init__.py b/django/db/models/sql/__init__.py index 762f8a5d62..5fa52f6a1f 100644 --- a/django/db/models/sql/__init__.py +++ b/django/db/models/sql/__init__.py @@ -1,7 +1,6 @@ -from django.core.exceptions import EmptyResultSet from django.db.models.sql.query import * # NOQA from django.db.models.sql.query import Query from django.db.models.sql.subqueries import * # NOQA from django.db.models.sql.where import AND, OR -__all__ = ['Query', 'AND', 'OR', 'EmptyResultSet'] +__all__ = ['Query', 'AND', 'OR'] diff --git a/django/db/models/sql/datastructures.py b/django/db/models/sql/datastructures.py index 9c3bb05e89..c2c347b3cf 100644 --- a/django/db/models/sql/datastructures.py +++ b/django/db/models/sql/datastructures.py @@ -2,8 +2,6 @@ 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 |
