Fixed import of FieldDoesNotExist exception.

This commit is contained in:
Mariusz Felisiak 2019-09-28 20:52:22 +02:00
parent 60f9c12900
commit 75afe48b6c

View File

@ -16,12 +16,11 @@ import traceback
from collections import OrderedDict
from collections.abc import Mapping
from django.core.exceptions import ImproperlyConfigured
from django.core.exceptions import FieldDoesNotExist, ImproperlyConfigured
from django.core.exceptions import ValidationError as DjangoValidationError
from django.db import models
from django.db.models import DurationField as ModelDurationField
from django.db.models.fields import Field as DjangoModelField
from django.db.models.fields import FieldDoesNotExist
from django.utils import timezone
from django.utils.functional import cached_property
from django.utils.translation import gettext_lazy as _