From 8958170755b37ce346ae5257c1000bd936faa3b0 Mon Sep 17 00:00:00 2001 From: Daniel Pyrathon Date: Fri, 2 Jan 2015 16:14:23 +0100 Subject: Fixed #9104 -- Moved FieldDoesNotExist to core.exceptions --- tests/annotations/tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/annotations') 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 -- cgit v1.3