From 8e27a6bb6b287ab36b324e5ee45837e9d1b90aa2 Mon Sep 17 00:00:00 2001 From: David Krauth Date: Mon, 18 Nov 2024 11:27:06 -0800 Subject: [PATCH] Set USE_TZ to False for Django 5+; TODO: fixes tests to use timezone awareness --- README.rst | 2 +- demo/settings.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 2384cf4..11bd355 100644 --- a/README.rst +++ b/README.rst @@ -7,7 +7,7 @@ Django Swingtime .. image:: https://badge.fury.io/py/django-swingtime.svg :target: http://badge.fury.io/py/django-swingtime -:Version: 1.5.0 +:Version: 1.5.1 :Demo: https://nerdfog.com/swingtime/ :Download: https://pypi.org/project/django-swingtime/ :Source: https://github.com/dakrauth/django-swingtime diff --git a/demo/settings.py b/demo/settings.py index 988f3a8..7754cab 100644 --- a/demo/settings.py +++ b/demo/settings.py @@ -26,6 +26,7 @@ TIME_ZONE = 'America/New_York' SITE_ID = 1 USE_I18N = True +USE_TZ = False SECRET_KEY = 'swingtime-demo' TEST_RUNNER = 'django.test.runner.DiscoverRunner' TEMPLATES = [{