  import tempfile
  from collections import OrderedDict
  
  import pytest
  from django.core.exceptions import ImproperlyConfigured
  from django.core.serializers.json import DjangoJSONEncoder
  from django.core.validators import (
      MaxValueValidator, MinLengthValidator, MinValueValidator
 
</s> remove from django.utils.timezone import activate, deactivate, override, utc
 </s> add from django.utils.timezone import activate, deactivate, override </s> remove from django.utils.timezone import utc
 </s> add  </s> remove from datetime import date, datetime, timedelta
 </s> add from datetime import date, datetime, timedelta, timezone </s> remove from django.utils.timezone import utc
 </s> add 
import django
  import tempfile
  from collections import OrderedDict
  
import django
  import pytest
  from django.core.exceptions import ImproperlyConfigured
  from django.core.serializers.json import DjangoJSONEncoder
  from django.core.validators import (
      MaxValueValidator, MinLengthValidator, MinValueValidator
keep keep add keep keep keep keep keep
 Confirmed support for Django 4.1. (#8498) 
tests/test_model_serializer.py