... status code. The exit status code for the test runner is now 0 for success (no failing tests) and 1 for any number of test failures. If needed, the number of test failures can be found at the end of the test runner's output. Cookie encoding ¶ To fix bugs ... status tests release backwards features branch runner feature csrf token template リリースノート contain incompatibilities failures encoding cookies cookie values characters comma semi クイック検索 Last update: 2026年10月09日 « previous | up | next » ... ... ng custom email backends Replacing auth_user and auth_password Updating AdminEmailHandler email_backend Ignoring transient failures in error reporting バージョン 6.1 で非推奨: The following settings and functions will be removed in Django 2028: EMAIL_BAC ... y), wrap the send call in try: / except mail.MailerDoesNotExist: pass . To ignore all exceptions (e.g., to avoid cascading failures in an error handler that sends mail), wrap the send call in try: / except Exception: pass . To ignore only SMTP-related er ... se AdminEmailHandler or BrokenLinkEmailsMiddleware and rely on their previous fail-silent behavior, see Ignoring transient failures in error reporting . Migrating custom email backends ¶ Custom EmailBackend implementations may need to be updated for comp ... ... c to a particular database backend and will be skipped if run with a different backend. Some tests are skipped or expected failures on a particular database backend (see DatabaseFeatures.django_test_skips and DatabaseFeatures.django_test_expected_failure ... . For example, tests for contrib.auth are located in tests/auth_tests . トラブルシューティング ¶ Test suite hangs or shows failures on main branch ¶ Ensure you have the latest point release of a supported Python version , since there are often bugs in ea ... ntests.py Or add export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES to your shell's startup file (e.g. ~/.profile ). Many test failures with UnicodeEncodeError ¶ If the locales package is not installed, some tests will fail with a UnicodeEncodeError . You ca ... ... ng custom email backends Replacing auth_user and auth_password Updating AdminEmailHandler email_backend Ignoring transient failures in error reporting バージョン 6.1 で非推奨: The following settings and functions will be removed in Django 2028: EMAIL_BAC ... y), wrap the send call in try: / except mail.MailerDoesNotExist: pass . To ignore all exceptions (e.g., to avoid cascading failures in an error handler that sends mail), wrap the send call in try: / except Exception: pass . To ignore only SMTP-related er ... se AdminEmailHandler or BrokenLinkEmailsMiddleware and rely on their previous fail-silent behavior, see Ignoring transient failures in error reporting . Migrating custom email backends ¶ Custom EmailBackend implementations may need to be updated for comp ... ... c to a particular database backend and will be skipped if run with a different backend. Some tests are skipped or expected failures on a particular database backend (see DatabaseFeatures.django_test_skips and DatabaseFeatures.django_test_expected_failure ... . For example, tests for contrib.auth are located in tests/auth_tests . トラブルシューティング ¶ Test suite hangs or shows failures on main branch ¶ Ensure you have the latest point release of a supported Python version , since there are often bugs in ea ... ntests.py Or add export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES to your shell's startup file (e.g. ~/.profile ). Many test failures with UnicodeEncodeError ¶ If the locales package is not installed, some tests will fail with a UnicodeEncodeError . You ca ... ... status code. The exit status code for the test runner is now 0 for success (no failing tests) and 1 for any number of test failures. If needed, the number of test failures can be found at the end of the test runner's output. Cookie encoding ¶ To fix bugs ... ... in Django 1.9 where a custom view error handler such as handler404 that accesses csrf_token could cause CSRF verification failures on other pages ( #28488 ). 目次 Django 1.11.6 リリースノート バグ修正 前のトピックへ Django 1.11.7 リリースノート 次のトピ ... ... in Django 1.9 where a custom view error handler such as handler404 that accesses csrf_token could cause CSRF verification failures on other pages ( #28488 ). 目次 Django 1.11.6 リリースノート バグ修正 前のトピックへ Django 1.11.7 リリースノート 次のトピ ... ... orted Python version. It's possible you may encounter errors using an earlier point release. If you have a small number of failures, it may be worth investigating whether they are known issues, or using the django-docker-box project to run the tests. Sin ... ... project which runs without them; and further, such errors may manifest as data-corruption bugs. This change may cause test failures if you use select_for_update() in a test class which is a subclass of TransactionTestCase rather than TestCase . Other bug ... 2026年10月08日