per page, with , order by , clip by
Results of 1 - 10 of about 25 for elements (0.004 sec.)
Django 6.1 release notes 13500
Django 6.1 release notes August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 6.0 or earlier. We've begun the ... evaluation via __bool__() . CSP The new csp_nonce_attr template tag renders the CSP nonce attribute on <script> and <link> elements, or renders a Media object's assets with the nonce applied, when the csp() context processor is configured. See Nonce usag ... o.template.context_processors.csp is not configured. CSP nonce attributes are now added on <script> , <style> , and <link> elements in admin templates and all built-in templates when the csp() context processor is configured. See Nonce config for setup i ... tions.binary_placeholder_sql() method now expects a query compiler as an extra positional argument and should return a two-elements tuple composed of an SQL format string and a tuple of associated parameters. The BaseSpatialOperations.get_geom_placeholde ...
https://man.mtool.work/django/6.1/releases/6.1.html
コンテンツセキュリティポリシー 11773
コンテンツセキュリティポリシー New in Django 6.0. Content Security Policy (CSP) is a web security standard that helps prevent content injection attacks by restricting the sources from which content can be loaded. It plays an important role ... dom value generated per HTTP response. Django supports nonces as a secure 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 relev ... The csp_nonce_attr template tag was added, including support for rendering Media objects. For inline <script> and <style> elements, include the nonce directly using the context variable: < script nonce = " {{ csp_nonce }} " > // This inline JavaScript w ... ill be allowed. </ script > For external <script src="..."> and <link rel="stylesheet"> elements, use the csp_nonce_attr template tag: < script src = "/path/to/script.js" {% csp_nonce_attr %} ></ script > < link rel = " ...
https://man.mtool.work/django/6.1/ref/csp.html
How to use Django's Content Security Policy 10776
How to use Django's Content Security Policy Basic config Content Security Policy (CSP) を有効にするには、Django プロジェクトで次のように設定します: Add the CSP middleware to your MIDDLEWARE setting: MIDDLEWARE = [ # ... "django.middleware.c ... { "context_processors" : [ # ... "django.template.context_processors.csp" , ], }, }, ] In your templates, add the nonce to elements that require it: For inline <style> or <script> tags, use the csp_nonce context variable directly: < style nonce = " {{ cs ... }} " > // This inline JavaScript will be allowed. </ script > For external <script src="..."> and <link rel="stylesheet"> elements, use the csp_nonce_attr template tag: < script src = "/path/to/script.js" {% csp_nonce_attr %} ></ script > < link rel = " ...
https://man.mtool.work/django/6.1/howto/csp.html
Django 4.2.27 リリースノート 9780
Django 4.2.27 リリースノート 2025年12月2日 Django 4.2.27 fixes one security issue with severity "high", one security issue with severity "moderate", and one bug in 4.2.26. CVE-2025-13372: Potential SQL injection in FilteredRelation column a ... ial-of-service attack due to quadratic time complexity when deserializing crafted documents containing many nested invalid elements. The internal helper django.core.serializers.xml_serializer.getInnerText() previously accumulated inner text inefficiently ...
https://man.mtool.work/django/6.1/releases/4.2.27.html
Django 5.1.15 リリースノート 9780
Django 5.1.15 リリースノート 2025年12月2日 Django 5.1.15 fixes one security issue with severity "high", one security issue with severity "moderate", and one bug in 5.1.14. CVE-2025-13372: Potential SQL injection in FilteredRelation column a ... ial-of-service attack due to quadratic time complexity when deserializing crafted documents containing many nested invalid elements. The internal helper django.core.serializers.xml_serializer.getInnerText() previously accumulated inner text inefficiently ...
https://man.mtool.work/django/6.1/releases/5.1.15.html
Django 5.2.9 リリースノート 9282
Django 5.2.9 リリースノート 2025年12月2日 Django 5.2.9 fixes one security issue with severity "high", one security issue with severity "moderate", and several bugs in 5.2.8. CVE-2025-13372: Potential SQL injection in FilteredRelation column ... ial-of-service attack due to quadratic time complexity when deserializing crafted documents containing many nested invalid elements. The internal helper django.core.serializers.xml_serializer.getInnerText() previously accumulated inner text inefficiently ...
https://man.mtool.work/django/6.1/releases/5.2.9.html
配信 (syndication) フィード フレームワーク 8784
配信 (syndication) フィード フレームワーク Django には、 RSS と Atom フィードを作成するための高レベルな配信 (syndication) フィード生成フレームワークが付属しています。 任意の配信フィードを作成するには、短い Python クラスを書くだけで済みます。 ... ed.root_attributes(self) ルートフィード要素 ( feed / channel ) に追加する属性の dict を返します。 SyndicationFeed.add_root_elements(self, handler) ルートフィード要素 ( feed / channel ) 内に要素を追加するためのコールバックです。 handler はPythonの組み込み ... dict を返します。引数の item は、 SyndicationFeed.add_item() に渡されるすべてのデータの辞書です。 SyndicationFeed.add_item_elements(self, handler, item) 各アイテム ( item / entry ) 要素に要素を追加するためのコールバックです。 handler と item は上記の通り ... () . root_attributes () attrs [ "xmlns:itunes" ] = "http://www.itunes.com/dtds/podcast-1.0.dtd" return attrs def add_root_elements ( self , handler ): super () . add_root_elements ( handler ) handler . addQuickElement ( "itunes:explicit" , "clean" ) 完全 ...
https://man.mtool.work/django/6.1/ref/contrib/syndication.html
Django 6.0.2 release notes 8784
Django 6.0.2 release notes February 3, 2026 Django 6.0.2 fixes three security issues with severity "high", two security issues with severity "moderate", one security issue with severity "low", and several bugs in 6.0.1. CVE-2025-13473: User ... グ修正 Fixed a visual regression in Django 6.0 that caused the admin filter sidebar to wrap below the changelist when filter elements contained long text ( #36850 ). Fixed a visual regression in Django 6.0 for admin form fields grouped under a <fieldset> a ...
https://man.mtool.work/django/6.1/releases/6.0.2.html
Django 2.1 リリースノート 8535
Django 2.1 リリースノート 2018年8月1日 Django 2.1 へようこそ! このリリースノートでは、 バージョン 2.1 の新機能 と、Django 2.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能を ... ble_by() method allow limiting the columns that can be sorted in the change list page. The admin_order_field attribute for elements in ModelAdmin.list_display may now be a query expression. The new ModelAdmin.get_deleted_objects() method allows customizi ... syntax rather than XHTML's multiple="multiple" . HTML rendered by form widgets no longer includes a closing slash on void elements, e.g. <br> . This is incompatible within XHTML, although some widgets already used aspects of HTML5 such as boolean attrib ...
https://man.mtool.work/django/6.1/releases/2.1.html
Django 0.96 リリースノート 7787
Django 0.96 リリースノート Django 0.96 へようこそ! The primary goal for 0.96 is a cleanup and stabilization of the features introduced in 0.95. There have been a few small backwards-incompatible changes since 0.95, but the upgrade process s ... wo releases we plan to switch completely to the new forms system, and deprecate and remove the old system. There are three elements to this transition: We've copied the current django.forms to django.oldforms . This allows you to upgrade your code now ra ...
https://man.mtool.work/django/6.1/releases/0.96.html
PREV 1 2 3 NEXT