summaryrefslogtreecommitdiff
path: root/tests/annotations/tests.py
diff options
context:
space:
mode:
authorDaniel Pyrathon <pirosb3@gmail.com>2015-01-02 16:14:23 +0100
committerTim Graham <timograham@gmail.com>2015-01-02 10:46:04 -0500
commit8958170755b37ce346ae5257c1000bd936faa3b0 (patch)
tree53eeaf3e736cb776b84a3bef940f545b753bb37e /tests/annotations/tests.py
parent1aa3e09c2043c88a760e8b73fb95dc8f1ffef50e (diff)
Fixed #9104 -- Moved FieldDoesNotExist to core.exceptions
Diffstat (limited to 'tests/annotations/tests.py')
-rw-r--r--tests/annotations/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py
index a2a1c8f852..570ef4d52c 100644
--- a/tests/annotations/tests.py
+++ b/tests/annotations/tests.py
@@ -2,12 +2,11 @@ from __future__ import unicode_literals
import datetime
from decimal import Decimal
-from django.core.exceptions import FieldError
+from django.core.exceptions import FieldDoesNotExist, FieldError
from django.db.models import (
Sum, Count,
F, Value, Func,
IntegerField, BooleanField, CharField)
-from django.db.models.fields import FieldDoesNotExist
from django.test import TestCase
from django.utils import six