From 571d2a51de24af329f76c9f68f065544a12f30fe Mon Sep 17 00:00:00 2001 From: faucomte97 Date: Fri, 12 Apr 2024 12:50:06 +0100 Subject: [PATCH] Add timezone settings --- example_project/test_settings.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/example_project/test_settings.py b/example_project/test_settings.py index b50d424b6..3c218b405 100644 --- a/example_project/test_settings.py +++ b/example_project/test_settings.py @@ -49,6 +49,12 @@ STATICFILES_DIRS = [os.path.join(BASE_DIR, "aimmo/static")] SECRET_KEY = "bad_test_secret" +USE_I18N = True +USE_L10N = True +USE_TZ = True + +TIME_ZONE = "Europe/London" + WSGI_APPLICATION = "wsgi.application" MIDDLEWARE = [