From 420d13edeed8d2848b52f37144fe5edb7baff0cc Mon Sep 17 00:00:00 2001 From: Andrey Otto <30920379+OttoAndrey@users.noreply.github.com> Date: Wed, 20 Apr 2022 14:59:48 +0700 Subject: [PATCH] Fixed #33654 -- Added localdate to utils.timezone.__all__. --- django/utils/timezone.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/utils/timezone.py b/django/utils/timezone.py index d22e358538..2107ec96ae 100644 --- a/django/utils/timezone.py +++ b/django/utils/timezone.py @@ -30,6 +30,7 @@ __all__ = [ # noqa for utc RemovedInDjango50Warning. "deactivate", "override", "localtime", + "localdate", "now", "is_aware", "is_naive",