... r version of Django with SQLite 3.26 or later ( #29182 ). Prevented SQLite schema alterations while foreign key checks are enabled to avoid the possibility of schema corruption ( #30023 ). Fixed a regression in Django 2.1.4 (which enabled keep-alive con ... ... hich together instruct the browser on how to handle specific types of content. When the ContentSecurityPolicyMiddleware is enabled, Django automatically builds and attaches the appropriate headers to each response based on the configured settings , unle ... ecure way to allow specific inline <script> or <style> elements to execute without relying on 'unsafe-inline' . Nonces are enabled by including the special placeholder NONCE in the relevant directive(s) of your CSP settings , such as script-src or style ... nce-<value> source expression into the CSP header. To use this nonce in templates, the csp() context processor needs to be enabled. It adds a csp_nonce variable to the template context. Changed in Django 6.1: The csp_nonce_attr template tag was added, i ... ... ... ng are both enabled, and if the project has a URL pattern that accepts any path ending in a slash (many content management systems have such a ... ... heir compatibility with MAILERS before making other changes. Update email-related settings . Run with deprecation warnings enabled (see 廃止予定警告を解決する ) to identify other code needing updates. 注釈 Running tests may not identify all relevant dep ... recation warnings that are only issued from the production email configuration. Consider running with deprecation warnings enabled in production to catch those deprecations. Or carefully review your code (including third-party packages) for use of any d ... nue dropping error notification emails that cannot be sent, define a MAILERS configuration with the "fail_silently" option enabled for use by those error handlers: MAILERS = { "default" : { ... }, "admin-logging" : { "BACKEND" : "django.core.mail.backen ... ... r version of Django with SQLite 3.26 or later ( #29182 ). Prevented SQLite schema alterations while foreign key checks are enabled to avoid the possibility of schema corruption ( #30023 ). ... ... _SLASH setting are both enabled, and if the project has a URL pattern that accepts any path ending in a slash (many content management systems have such a ... ... able links if target models are registered in the admin. The admin now supports theming, and includes a dark theme that is enabled according to browser settings. See テーマのサポート for more details. ModelAdmin.autocomplete_fields now respects ForeignK ... overRunner and the test management command can now track timings, including database setup and total run time. This can be enabled by using the test --timing option. Client now preserves the request query string when following 307 and 308 redirects. The ... cache keys no longer includes the language when internationalization is disabled ( USE_I18N = False ) and localization is enabled ( USE_L10N = True ). After upgrading to Django 3.2 in such configurations, the first request to any previously cached valu ... ... Django's internationalization framework has been expanded with locale-aware formatting and form processing. That means, if enabled, dates and numbers on templates will be displayed using the format specified for the current locale. Django will also use ... e queries with non-point geometries on geographic coordinate systems. Support for 3D geometry fields was added, and may be enabled by setting the dim keyword to 3 in your GeometryField . The Extent3D aggregate and extent3d() GeoQuerySet method were adde ... separately at geodjango.org . JavaScript-assisted handling of inline related objects in the admin If a user has JavaScript enabled in their browser, the interface for inline objects in the admin now allows inline objects to be dynamically added and remo ... ... e features . オーバービュー The biggest new feature in Django 1.4 is support for time zones when handling date/times. When enabled, this Django will store date/times in UTC, use timezone-aware objects internally, and translate them to users' local timez ... with time zone information in Django 1.3.) Avoiding data corruption problems around DST transitions. Time zone support is enabled by default in new projects created with startproject . If you want to use this feature in an existing project, read the mi ... related objects are saved in the admin. Two other new ModelAdmin methods, get_list_display() and get_list_display_links() enable dynamic customization of fields and links displayed on the admin change list. Admin inlines respect user permissions Admin ... 2026年10月08日