Update for removed django.utils.timezone.utc.

Review Request #14740 — Created Dec. 22, 2025 and updated

Information

Django Evolution
master

Reviewers

Django used to ship an alias from datetime.timezone.utc ->
django.utils.timezone.utc, and removed it in Django 5.0. All our
supported versions of Python include this, so we can just use it from
datetime.timezone.

Ran unit tests without this crashing.

Summary ID
Update for removed django.utils.timezone.utc.
Django used to ship an alias from `datetime.timezone.utc` -> `django.utils.timezone.utc`, and removed it in Django 5.0. All our supported versions of Python include this, so we can just use it from `datetime.timezone`. Testing Done: Ran unit tests without this crashing.
ypnwwyyuqkntnxnsskqqrlwvsqpwuymp
Checks run (2 succeeded)
flake8 passed.
JSHint passed.
chipx86
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2.