Moved EmpytResultSet to django.core.exceptions.

This removes the need for some inner imports.
This commit is contained in:
Johannes Dollinger 2016-05-25 21:00:20 +02:00 committed by Tim Graham
parent c002a0d39f
commit 46509cf13d
9 changed files with 26 additions and 13 deletions

View file

@ -6,11 +6,10 @@ import unittest
from collections import OrderedDict
from operator import attrgetter
from django.core.exceptions import FieldError
from django.core.exceptions import EmptyResultSet, FieldError
from django.db import DEFAULT_DB_ALIAS, connection
from django.db.models import Count, F, Q
from django.db.models.sql.constants import LOUTER
from django.db.models.sql.datastructures import EmptyResultSet
from django.db.models.sql.where import NothingNode, WhereNode
from django.test import TestCase, skipUnlessDBFeature
from django.test.utils import CaptureQueriesContext