... on migrating 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 ... ning with deprecation 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 li ... ut" in "OPTIONS" . EMAIL_USE_SSL becomes "use_ssl" in "OPTIONS" . EMAIL_USE_TLS becomes "use_tls" in "OPTIONS" . For third-party or custom email backends, the available "OPTIONS" depend on the backend. Refer to the third-party documentation, or for cu ... ... ックエンド API このセクションでは、サードパーティのデータベースバックエンドで必要になる可能性のある変更について説明します。 Third-party database backends must implement support for table check constraints or set DatabaseFeatures.supports_table_check_co ... nstraints to False . Third party database backends must implement support for ignoring constraints or uniqueness errors while inserting or set Databa ... seFeatures.supports_ignore_conflicts to False . Third party database backends must implement introspection for DurationField or set DatabaseFeatures.can_introspect_duration_field to ... ... itional validation of the scheme of the URL to redirect to (since, both within Django's own supplied applications and many third-party applications, accepting a user-supplied redirect target is a common pattern). Since then, two independent audits of ... the Host-header issue, we are taking steps to provide tighter validation in response to reported problems (primarily with third-party applications, but to a certain extent also within Django itself). This comes in two parts: 1. A new utility function ... for use whenever user-supplied redirect targets are accepted, to ensure that such redirects cannot lead to arbitrary third-party sites. 2. All of Django's own built-in views -- primarily in the authentication system -- which allow user-supplied redire ... ... itional validation of the scheme of the URL to redirect to (since, both within Django's own supplied applications and many third-party applications, accepting a user-supplied redirect target is a common pattern). Since then, two independent audits of ... the Host-header issue, we are taking steps to provide tighter validation in response to reported problems (primarily with third-party applications, but to a certain extent also within Django itself). This comes in two parts: 1. A new utility function ... for use whenever user-supplied redirect targets are accepted, to ensure that such redirects cannot lead to arbitrary third-party sites. 2. All of Django's own built-in views -- primarily in the authentication system -- which allow user-supplied redire ... ... ions, including SMTP servers in your own infrastructure and most commercial email service providers (ESPs). There are also third-party email backends available that integrate directly with ESP APIs or add other sending features. During development or ... iron [ "EMAIL_ACCOUNT_ID" ], "password" : os . environ [ "EMAIL_API_KEY" ], }, }, "notifications" : { "BACKEND" : "example.third.party.EmailBackend" , "OPTIONS" : { "api_key" : os . environ [ "THIRD_PARTY_API_KEY" ], "region" : "eu" , }, }, "admin" : ... ation of this authentication scheme.) "notifications" sends through a hypothetical commercial email service, using a third-party EmailBackend that connects directly to their API. (See Third-party backends for pointers on locating real, community maint ... ... と Response The runserver web server supports HTTP 1.1. テンプレート To increase the usefulness of Engine.get_default() in third-party apps, it now returns the first engine if multiple DjangoTemplates engines are configured in TEMPLATES rather than ra ... and date_interval_sql() methods now return only the SQL to perform the operation instead of SQL and a list of parameters. Third-party database backends should add a DatabaseWrapper.display_name attribute with the name of the database that your backen ... eed to customize the DatabaseOperations.window_start_rows_start_end() and/or window_start_range_start_end() methods. Third-party database backends should add a DatabaseOperations.cast_char_field_without_max_length attribute with the database data type ... ... go.contrib.syndication The new item_comments hook allows specifying a comments URL per feed item. データベースバックエンド Third-party database backends can now skip or mark as expected failures tests in Django's test suite using the new DatabaseFeatu ... e ) and covering unique constraints ( UniqueConstraint.include ), set DatabaseFeatures.supports_covering_indexes to True . Third-party database backends must implement support for column database collations on CharField s and TextField s or set Databa ... h environment variables to the underlying command-line client from DatabaseClient.settings_to_cmd_args_env() method. Third-party database backends must implement DatabaseClient.settings_to_cmd_args_env() or override DatabaseClient.runshell() . Third-p ... ... . バグ修正 Made the obj argument of InlineModelAdmin.has_add_permission() optional to restore backwards compatibility with third-party code that doesn't provide it ( #30097 ). ... ... flush() and cache_db.SessionStore.flush() methods have been modified to avoid creating a new empty session. Maintainers of third-party session backends should check if the same vulnerability is present in their backend and correct it if so. ... ... t we can't be sure we covered all possible uses of Django. Some features of Django aren't available because they depend on third-party software that hasn't been ported to Python 3 yet, including: the MySQL database backend (depends on MySQLdb) ImageFi ... WebDriver) Further, Django's more than a web framework; it's an ecosystem of pluggable components. At this point, very few third-party applications have been ported to Python 3, so it's unlikely that a real-world application will have all its dependen ... ame/last name, or you want to put custom profile information onto your User object, you can now do so. If you have a third-party reusable application that references the User model, you may need to make some changes to the way you reference User insta ... 2026年10月08日