per page, with , order by , clip by
Results of 1 - 7 of about 7 for violation (0.003 sec.)
制約 (Constraint) リファレンス 12995
制約 (Constraint) リファレンス このモジュールで定義されたクラスはデータベース制約を作成します。これらはモデルの Meta.constraints オプションで追加されます。 組み込みの制約への参照について 制約は django.db.models.constraints で定義されています ... 制約のバリデーション 制約は モデルのバリデーション の間にチェックされます。 BaseConstraint class BaseConstraint ( * name , violation_error_code = None , violation_error_message = None ) [ソース] すべての制約の基底クラスです。サブクラスは constraint_sql() ... に共通するパラメータは以下の通りです: name BaseConstraint. name 制約の名前。制約には常に一意な名前を指定する必要があります。 violation_error_code BaseConstraint. violation_error_code モデルのバリデーション 中に ValidationError が発生した場合に使用されるエラ ... ーコードです。デフォルトは None です。 violation_error_message BaseConstraint. violation_error_message モデルのバリデーション の実行中に ValidationError が発生した場合に表 ...
https://man.mtool.work/django/6.1/ref/models/constraints.html
PostgreSQL 固有のデータベース制約 10196
PostgreSQL 固有のデータベース制約 PostgreSQL は django.contrib.postgres.constraints モジュールから利用できる追加のデータ整合性制約をサポートしています。これらはモデル Meta.constraints オプションで追加されます。 ExclusionConstraint class Exc ... lusionConstraint ( * , name , expressions , index_type = None , condition = None , deferrable = None , include = None , violation_error_code = None , violation_error_message = None ) [ソース] データベースに排他制約を作成します。内部的には、PostgreSQLは ... グする ( expressions ) クエリにインデックスのみのスキャンを使用できます。 include is supported for GiST and SP-GiST indexes. violation_error_code ExclusionConstraint. violation_error_code モデルのバリデーション 中に ValidationError が発生した場合に使用される ... エラーコードです。デフォルトは None です。 violation_error_message モデルのバリデーション 中に ValidationError が発生した場合に使用されるエラーメッセージです。デフォルトは Bas ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/constraints.html
コンテンツセキュリティポリシー 9106
コンテンツセキュリティポリシー 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 ... s the CSP policy, blocking content that violates the defined directives. Content-Security-Policy-Report-Only : Reports CSP violations without blocking content, allowing for non-intrusive testing. Each policy is composed of one or more directives and their ... Use SECURE_CSP_REPORT_ONLY on its own to evaluate a new policy without disrupting site behavior. This mode does not block violations, it only logs them. It's useful for testing and monitoring, but provides no protection against active threats. Use both t ... rts can help detect regressions, unexpected changes in behavior, or potential tampering in production environments. Policy violation reports When a CSP violation occurs, browsers typically log details to the developer console, providing immediate feedback ...
https://man.mtool.work/django/6.1/ref/csp.html
Django 5.0 リリースノート 8106
Django 5.0 リリースノート 2023年12月4日 Django 5.0 へようこそ! このリリースノートでは、 バージョン 5.0 の新機能 と、Django 4.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... 、アサーションメソッド MessagesTestMixin.assertMessages() が追加されました。 django.contrib.postgres ExclusionConstraint に violation_error_code 属性が追加され、 オブジェクトの検証 中に発生する ValidationError の code をカスタマイズできるようになりました。 ... ィールド値を指定できる create_defaults 引数が追加されました。 BaseConstraint 、 CheckConstraint 、および UniqueConstraint に violation_error_code 属性が追加され、 オブジェクトの検証 中に発生する ValidationError の code をカスタマイズすることができるようにな ... angoDivFormRenderer と Jinja2DivFormRenderer トランジショナルフォームレンダラーが非推奨になりました。 位置引数 name および violation_error_message を BaseConstraint に渡す方法は、キーワード専用引数を使用する方法に変更されるため、非推奨となりました。 reque ...
https://man.mtool.work/django/6.1/releases/5.0.html
Django 5.2 リリースノート 7942
Django 5.2 リリースノート 2025年4月2日 Django 5.2 へようこそ! このリリースノートでは、 バージョン 5.2 の新機能 と、Django 5.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... pes はリクエストの Accept ヘッダーに基づき、クライアントの設定によってソートされるようになりました。 属性 UniqueConstraint.violation_error_code と UniqueConstraint.violation_error_message は指定されれば常に使用されるように変更されました。従来は UniqueCons ...
https://man.mtool.work/django/6.1/releases/5.2.html
Django ドキュメント目次 7633
Django ドキュメント目次 さぁ始めましょう Django の概要 モデルの設計 モデルのインストール 自動生成される API で楽しむ 作業場 (scaffold) ではなく完成品 (whole house) の、動的な admin インタフェース URL を設計する ビューの自作 テンプレートを設 ... s humanize messages postgres redirects sessions sites sitemaps syndication コンテンツセキュリティポリシー 概要 設定 Policy violation reports CSP 定数 デコレータ Nonce usage クロスサイトリクエストフォージェリ (CSRF) 対策 しくみ 制限事項 ユーティリティ 設定 ...
https://man.mtool.work/django/6.1/contents.html
設定 7561
設定 警告 設定を上書きするとき、特にデフォルト値が空でないリストや辞書の場合、例えば STATICFILES_FINDERS などは、注意してください。Djangoの使用したい機能に必要なコンポーネントを保持するようにしてください。 コアの設定 ここでは、Django の cor ... are to apply a Content-Security-Policy-Report-Only header to responses, which allows browsers to monitor and report policy violations without blocking content. This is useful for testing and refining a policy before enforcement. Most browsers log CSP viol ... tionally send them to a reporting endpoint. To collect these reports, the report-uri directive must be defined (see Policy violation reports for more details). As noted in the MDN documentation on Content-Security-Policy-Report-Only , the report-uri direc ...
https://man.mtool.work/django/6.1/ref/settings.html
PREV 1 NEXT