From b508124fe6d7807f48d93b1835e914ce2f1ddb6b Mon Sep 17 00:00:00 2001 From: M1ha-Shvn Date: Fri, 5 Jan 2024 15:10:02 +0500 Subject: [PATCH] Activated USE_TZ to fix tests before django 5.0 --- tests/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/settings.py b/tests/settings.py index 4d83af1..3668be9 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -4,6 +4,7 @@ This file contains django settings to run tests with runtests.py from os import environ SECRET_KEY = 'fake-key' +USE_TZ = True DATABASES = { 'default': {