diff options
Diffstat (limited to 'tests/annotations')
| -rw-r--r-- | tests/annotations/tests.py | 3 |
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 |
