diff --git a/analytics_dashboard/settings/base.py b/analytics_dashboard/settings/base.py index ebb067719..6b4602280 100644 --- a/analytics_dashboard/settings/base.py +++ b/analytics_dashboard/settings/base.py @@ -84,6 +84,9 @@ # See: https://docs.djangoproject.com/en/dev/ref/settings/#use-tz USE_TZ = True +# Keep using deprecated pytz with Django>4.2 +USE_DEPRECATED_PYTZ = True + FORMAT_MODULE_PATH = 'core.formats' ########## END GENERAL CONFIGURATION