... g existing projects to the new mailers functionality. All Django projects that send email should: If using any third-party packages that send email, verify their compatibility with MAILERS before making other changes. Update email-related settings . Run ... precation warnings enabled in production to catch those deprecations. Or carefully review your code (including third-party packages) for use of any deprecated email features. Other updates are needed only for projects or reusable Django libraries that u ... mation on the MAILERS setting and additional configuration examples. Reusable library readiness In most cases, third-party packages that send email through Django will continue working with projects whose settings have been upgraded to use MAILERS . (If ... ... ます。 If you're using Linux or a Unix installation, such as OpenSolaris, check with your distributor to see if they already package Django. If you're using a Linux distro and don't know how to find out if a package is available, then now is a good time t ... ... ip install -r requirements\py3.txt ...\> runtests.py Installing the requirements will likely require some operating system packages that your computer doesn't have installed. You can usually figure out which package to install by doing a web search for ... unning the Selenium tests Some tests require Selenium and a web browser. To run these tests, you must install the selenium package and run the tests with the --selenium=<BROWSERS> option. For example, if you have Firefox and Google Chrome installed: / ... $ ./runtests.py --selenium = firefox,chrome ...\> runtests.py --selenium=firefox,chrome See the selenium.webdriver package for the list of available browsers. Specifying --selenium automatically sets --tags=selenium to run only the tests that re ... ... 問題を抱えています。この繰り返し作業を減らせたら良いと思いませんか? 再利用可能性はPythonの生き様とも言えるものです。 Python Package Index (PyPI) にはあなたの Pythonプログラムに使用できる非常に幅広いパッケージが揃っています。あなたのプロジェクトに組み込む ... ことのできる再利用可能なアプリについては、 Django Packages を見てみてください。Django そのものも、普通のPython パッケージのひとつです。あなたは既存のPythonパッケージや Django アプリ ... 新規のプロジェクトで使いやすいようにし、いつでも別の場所でインストール/利用できるようにします。 パッケージ?アプリ? Python の package を使うと、関連する Python コードをまとめて再利用しやすいようにできます。パッケージは、 Python コードのファイル ( 通称 "モジ ... ... ils of the approach and discuss alternatives. Please include a link to such discussions in your contributions. Third party package Django does not accept experimental features. All features must follow our deprecation policy . Hence, it can take months ... Django to iterate on an API design. If you need user feedback on a public interface, it is better to create a third-party package first. You can iterate on the public API much faster, while also validating the need for the feature. Once this package be ... ... lopment or connect to some production services for which there's no development instance, for example. If a project uses a package like the django-debug-toolbar , then the attacker could execute arbitrary SQL, which could be especially bad if the develo ... ... lopment or connect to some production services for which there's no development instance, for example. If a project uses a package like the django-debug-toolbar , then the attacker could execute arbitrary SQL, which could be especially bad if the develo ... ... et the proper date but ensure the flag is_active is disabled. Upload the artifacts (tarball, wheel, and checksums). Verify package(s) signatures, check if they can be installed, and ensure minimal functionality. Upload the new version(s) to PyPI. Enable ... e. Please see notes on setting the VERSION tuple below for details on VERSION ( example commit ). If this is a pre-release package also update the "Development Status" trove classifier in pyproject.toml to reflect this. An rc pre-release should not chan ... tag> . Make sure you have an absolutely clean tree by running git clean -dfx . Run python -m build to generate the release packages. This will create the release artifacts (tarball and wheel) in a dist/ directory. Generate the hashes of the release pack ... ... ecently-released Django 1.0.1; the packaging scripts used for Django 1.0.1 omitted some directories from the final release package, including one directory required by django.contrib.gis and part of Django's unit-test suite. Django 1.0.2 ではパッケージン ... ... and will be removed in Django 5.0. zoneinfo is part of the Python standard library from Python 3.9. The backports.zoneinfo package is automatically installed alongside Django if you are using Python 3.8. The move to zoneinfo should be largely transparen ... クル中に pytz の継続的な使用を許可します。この設定は Django 5.0 で削除される予定です。 In addition, a pytz_deprecation_shim package, created by the zoneinfo author, can be used to assist with the migration from pytz . This package provides shims to help ... 2026年10月08日