diff --git a/core/settings.py b/core/settings.py index 8118f83..68ac1da 100644 --- a/core/settings.py +++ b/core/settings.py @@ -192,9 +192,12 @@ REST_FRAMEWORK = { } # Time zone setting -TIME_ZONE = 'UTC' +TIME_ZONE = 'Australia/Melbourne' USE_TZ = True +# Make sure Celery uses the same timezone +CELERY_TIMEZONE = TIME_ZONE + # Celery Configuration CELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL', 'redis://localhost:6379/0') CELERY_RESULT_BACKEND = os.environ.get('CELERY_RESULT_BACKEND', 'redis://localhost:6379/0')