From 4b9bdb0f6ca3638a241b0944f0affc083f935932 Mon Sep 17 00:00:00 2001 From: Saadullah Aleem Date: Mon, 1 May 2023 22:27:37 +0500 Subject: [PATCH] fix imports --- rest_framework/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/fields.py b/rest_framework/fields.py index ccc6bb6c7..00ad60bc2 100644 --- a/rest_framework/fields.py +++ b/rest_framework/fields.py @@ -9,7 +9,6 @@ import uuid from collections import OrderedDict from collections.abc import Mapping -from django.db.models import IntegerChoices from django.conf import settings from django.core.exceptions import ObjectDoesNotExist from django.core.exceptions import ValidationError as DjangoValidationError @@ -18,6 +17,7 @@ from django.core.validators import ( MinValueValidator, ProhibitNullCharactersValidator, RegexValidator, URLValidator, ip_address_validators ) +from django.db.models import IntegerChoices from django.forms import FilePathField as DjangoFilePathField from django.forms import ImageField as DjangoImageField from django.utils import timezone