Skip to content

Commit

Permalink
Enable support for deprecated pytz in Celery.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hareshkainthdbt committed Dec 6, 2024
1 parent b320d7e commit 80e9f66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fbr/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
)
CELERY_TIMEZONE = "UTC"
CELERY_ENABLE_UTC = True
USE_DEPRECATED_PYTZ = True

# Internationalisation
LANGUAGE_CODE = "en-gb"
Expand Down

0 comments on commit 80e9f66

Please sign in to comment.