... library's zoneinfo is now the default timezone implementation in Django. This is the next step in the migration from using pytz to using zoneinfo . Django 3.2 allowed the use of non- pytz time zones. Django 4.0 makes zoneinfo the default implementati ... on. Support for pytz is now deprecated and will be removed in Django 5.0. zoneinfo is part of the Python standard library from Python 3.9. The ... as operations on aware datetimes in UTC are unaffected. However, if you are working with non-UTC time zones, and using the pytz normalize() and localize() APIs, possibly with the TIME_ZONE setting, you will need to audit your code, since pytz and zon ... ... library's zoneinfo is now the default timezone implementation in Django. This is the next step in the migration from using pytz to using zoneinfo . Django 3.2 allowed the use of non- pytz time zones. Django 4.0 makes zoneinfo the default implementati ... on. Support for pytz is now deprecated and will be removed in Django 5.0. zoneinfo is part of the Python standard library from Python 3.9. The ... as operations on aware datetimes in UTC are unaffected. However, if you are working with non-UTC time zones, and using the pytz normalize() and localize() APIs, possibly with the TIME_ZONE setting, you will need to audit your code, since pytz and zon ... ... time formatting settings. バグ修正 ¶ Fixed a crash of the debug view during the autumn DST change when USE_TZ is False and pytz is installed. Fixed a regression in 1.8.6 that caused database routers without an allow_migrate() method to crash ( #25686 ... ... time formatting settings. バグ修正 ¶ Fixed a crash of the debug view during the autumn DST change when USE_TZ is False and pytz is installed. Fixed a regression in 1.8.6 that caused database routers without an allow_migrate() method to crash ( #25686 ... ... ルフィールドかどうかをチェックするようになりました。これはプロジェクト内のバグを顕在化するので、後方互換性がないと言えます。 pytz は必須の依存となり、 settings.TIME_ZONE = None のサポートは削除されました。 ¶ Django のタイムゾーン処理をシンプルにするため ... 、 pytz が必須の依存となりました。Django とともに自動的にインストールされます。 settings.TIME_ZONE = None のサポートは削除されまし ... trib.auth や i18n ビューでの安全でないリダイレクトに対する保護 QuerySet.get_or_create() と update_or_create() の引数の検証 pytz は必須の依存となり、 settings.TIME_ZONE = None のサポートは削除されました。 admin テンプレート内の HTML の変更 テンプレート ... ... ルフィールドかどうかをチェックするようになりました。これはプロジェクト内のバグを顕在化するので、後方互換性がないと言えます。 pytz は必須の依存となり、 settings.TIME_ZONE = None のサポートは削除されました。 ¶ Django のタイムゾーン処理をシンプルにするため ... 、 pytz が必須の依存となりました。Django とともに自動的にインストールされます。 settings.TIME_ZONE = None のサポートは削除されまし ... trib.auth や i18n ビューでの安全でないリダイレクトに対する保護 QuerySet.get_or_create() と update_or_create() の引数の検証 pytz は必須の依存となり、 settings.TIME_ZONE = None のサポートは削除されました。 admin テンプレート内の HTML の変更 テンプレート ... ... was necessary to resolve an inconsistency in the way routing information cascaded over joins. See #13724 for more details. pytz may be required ¶ プロジェクトが 1970 年以前や 2037 年以降の日付を扱っていて、 Django がそれらに遭遇したために ValueError ... を発生させた場合、 pytz をインストールする必要があります。 Django のタイムゾーンに関連した日付フォーマットや、 django.contrib.syndication を使って ... regarding pickle errors Cache keys are now generated from the request's absolute URL Passing None to Manager.db_manager() pytz may be required remove() and clear() methods of related managers Admin login redirection strategy select_for_update() requ ... ... was necessary to resolve an inconsistency in the way routing information cascaded over joins. See #13724 for more details. pytz may be required ¶ プロジェクトが 1970 年以前や 2037 年以降の日付を扱っていて、 Django がそれらに遭遇したために ValueError ... を発生させた場合、 pytz をインストールする必要があります。 Django のタイムゾーンに関連した日付フォーマットや、 django.contrib.syndication を使って ... regarding pickle errors Cache keys are now generated from the request's absolute URL Passing None to Manager.db_manager() pytz may be required remove() and clear() methods of related managers Admin login redirection strategy select_for_update() requ ... ... s of the current time zone. This requires time zone definitions in the database . If you're using SQLite, you must install pytz . If you're using MySQL, you must install pytz and load the time zone tables with mysql_tzinfo_to_sql . Addition of QueryS ... ... aggregates が、行がない場合にそれぞれ [] 、 [] 、 '' を返さなくなりました。 USE_L10N 設定が削除されました。 USE_DEPRECATED_PYTZ 移行用設定が削除されました。 pytz タイムゾーンに対するサポートが削除されました。 以下から、 is_dst 引数が削除されました。 ... 2026年10月08日