We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60f9c12 + 75afe48 commit 0dac98dCopy full SHA for 0dac98d
rest_framework/serializers.py
@@ -16,12 +16,11 @@
16
from collections import OrderedDict
17
from collections.abc import Mapping
18
19
-from django.core.exceptions import ImproperlyConfigured
+from django.core.exceptions import FieldDoesNotExist, ImproperlyConfigured
20
from django.core.exceptions import ValidationError as DjangoValidationError
21
from django.db import models
22
from django.db.models import DurationField as ModelDurationField
23
from django.db.models.fields import Field as DjangoModelField
24
-from django.db.models.fields import FieldDoesNotExist
25
from django.utils import timezone
26
from django.utils.functional import cached_property
27
from django.utils.translation import gettext_lazy as _
0 commit comments