From 80e9f665c7be3c8968028dd3f8aa0fd77bef08e6 Mon Sep 17 00:00:00 2001 From: Haresh Kainth Date: Fri, 6 Dec 2024 23:51:36 +0000 Subject: [PATCH] Enable support for deprecated pytz in Celery. Set USE_DEPRECATED_PYTZ to True to ensure compatibility with legacy timezone handling in Celery. This change helps maintain existing behavior and prevents potential issues arising from the transition away from pytz. --- fbr/config/settings/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fbr/config/settings/base.py b/fbr/config/settings/base.py index 194d8b0..711de8b 100644 --- a/fbr/config/settings/base.py +++ b/fbr/config/settings/base.py @@ -157,6 +157,7 @@ ) CELERY_TIMEZONE = "UTC" CELERY_ENABLE_UTC = True +USE_DEPRECATED_PYTZ = True # Internationalisation LANGUAGE_CODE = "en-gb"