per page, with , order by , clip by
Results of 1 - 10 of about 32 for strict (0.007 sec.)
バリデータ (Validator) 12452
バリデータ (Validator) これらのバリデータは django.contrib.postgres.validators モジュールから利用可能です。 KeysValidator class KeysValidator ( keys , strict = False , messages = None ) [ソース] 与えられたキーが値に含まれていることを検証しま ... す。もし strict が True の場合、他にキーが存在しないことも確認します。 渡される messages は、 missing_keys および/または extra_keys を含む ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/validators.html
Django ユーティリティ (django.utils) 10890
Django ユーティリティ ( django.utils ) このドキュメントは、 django.utils のすべての安定したモジュールを対象としています。 django.utils 内のほとんどのモジュールは内部使用を目的としていることから、 内部リリース非推奨ポリシー に従い、以下に記載 ... キュメント を参照してください。 django.utils.encoding smart_str ( s , encoding = 'utf-8' , strings_only = False , errors = 'strict' ) [ソース] 任意のオブジェクト s を表す str オブジェクトを返します。バイトストリングは encoding コーデックを使用して処理し ... に、保護された型のオブジェクトはそのまま保持されます。 force_str ( s , encoding = 'utf-8' , strings_only = False , errors = 'strict' ) [ソース] smart_str() に似ていますが、遅延インスタンスは遅延オブジェクトとして保持されるのではなく、文字列に変換されます ... かの) 非文字列型オブジェクトを変換しないでください。 smart_bytes ( s , encoding = 'utf-8' , strings_only = False , errors = 'strict' ) [ソース] 任意のオブジェクト s を、 encoding で指定された方法でエンコードされたバイト文字列バージョンを返します。 string ...
https://man.mtool.work/django/6.1/ref/utils.html
ミドルウェア 10632
ミドルウェア このドキュメントでは、Djangoに付属するすべてのミドルウェアコンポーネントについて説明します。それらの使用方法や独自のミドルウェアの作成方法についての情報は、 ミドルウェア使用ガイド を参照してください。 使用できる middleware Cach ... RE_HSTS_PRELOAD SECURE_HSTS_SECONDS SECURE_REDIRECT_EXEMPT SECURE_REFERRER_POLICY SECURE_SSL_HOST SECURE_SSL_REDIRECT HTTP Strict Transport Security HTTPSでのみアクセスする必要のあるサイトでは、 "Strict-Transport-Security" header を設定することで、一定 ... 1536000秒、すなわち1年が普通です)。 また、 SECURE_HSTS_INCLUDE_SUBDOMAINS 設定を True に設定すると、 SecurityMiddleware は Strict-Transport-Security ヘッダーに includeSubDomains ディレクティブを追加します。これは推奨です (すべてのサブドメインが HTTPS を ... あります。 browser preload list にサイトを登録する場合は、 SECURE_HSTS_PRELOAD 設定を True に設定してください。これにより、 Strict-Transport-Security ヘッダーに preload ディレクティブが追加されます。 警告 HSTSポリシーは、ヘッダーを設定したレスポンスのUR ...
https://man.mtool.work/django/6.1/ref/middleware.html
Django 4.2.14 リリースノート 10632
Django 4.2.14 リリースノート 2024年7月9日 Django 4.2.14では、4.2.13における2件の深刻度 "moderate" のセキュリティ問題と2件の深刻度 "low" のセキュリティ問題が修正されています。 CVE-2024-38875: django.utils.html.urlize() における潜在的なサービ ... nguage_variant() に渡される言語コードは、現在最大500文字まで解析されるようになりました。 言語コードが500文字を超える場合、 strict が True の場合、または汎用バリアントが存在せず strict が False の場合には、現在 ValueError が発生するようになりました。 ...
https://man.mtool.work/django/6.1/releases/4.2.14.html
Django 5.0.7 リリースノート 10374
Django 5.0.7 リリースノート 2024年7月9日 Django 5.0.7 では、5.0.6 における2件の深刻度 "moderate" のセキュリティ問題、2件の深刻度 "low" のセキュリティ問題、そして1件のバグが修正されています。 CVE-2024-38875: django.utils.html.urlize() におけ ... nguage_variant() に渡される言語コードは、現在最大500文字まで解析されるようになりました。 言語コードが500文字を超える場合、 strict が True の場合、または汎用バリアントが存在せず strict が False の場合には、現在 ValueError が発生するようになりました。 バ ...
https://man.mtool.work/django/6.1/releases/5.0.7.html
Django 3.1.13 リリースノート 9843
Django 3.1.13 リリースノート July 1, 2021 Django 3.1.13 fixes a security issue with severity "high" in 3.1.12. CVE-2021-35042: Potential SQL injection via unsanitized QuerySet.order_by() input Unsanitized user input passed to QuerySet.order ... arked for deprecation resulting in a potential SQL injection even if a deprecation warning is emitted. As a mitigation the strict column reference validation was restored for the duration of the deprecation period. This regression appeared in 3.1 as a ...
https://man.mtool.work/django/6.1/releases/3.1.13.html
PostgreSQL 固有のルックアップ 9585
PostgreSQL 固有のルックアップ trigram(トリグラム)類似度 trigram_similar trigram_similar ルックアップを使用すると、専用の PostgreSQL 拡張機能を使用して trigram(トリグラム)検索を実行し、共有される trigram (3 つの連続する文字) の数を測定で ... name__trigram_word_similar = "Middlesborough" ) <QuerySet [<Sentence: Gumby rides on the path of Middlesbrough>]> trigram_strict_word_similar trigram_word_similar と似ていますが、範囲の境界を単語の境界に一致させることを強制します。 これを使うには、 IN ... を有効にしてください。 TrigramExtension というマイグレーションオペレーションを使って拡張機能をインストールできます。 trigram_strict_word_similar ルックアップは、 CharField と TextField で使用できます。 Unaccent unaccent ルックアップを使用すると、専用の P ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/lookups.html
LayerMapping データインポートユーティリティ 8812
LayerMapping データインポートユーティリティ LayerMapping クラスは、ベクトル空間データファイル (例: shapefile) の内容を GeoDjango モデルにマッピングする方法を提供します。 このユーティリティは、ベクターレイヤーからジオメトリとフィールドを取り ... ing. save ( verbose = False , fid_range = False , step = False , progress = False , silent = False , stream = sys.stdout , strict = False ) [ソース] The save() method also accepts keywords. These keywords are used for controlling output logging, error ... ation will be written to this file handle. Defaults to using sys.stdout , but any object with a write method is supported. strict Execution of the model mapping will cease upon the first error encountered. The default value ( False ) behavior is to att ...
https://man.mtool.work/django/6.1/ref/contrib/gis/layermapping.html
Django 3.2.5 リリースノート 8812
Django 3.2.5 リリースノート July 1, 2021 Django 3.2.5 では、 3.2.4 における深刻度 "high" のセキュリティの問題1件と、いくつかのバグを修正しました。また、 Transifex からの最新の文字列翻訳が反映されました。 CVE-2021-35042: Potential SQL inject ... arked for deprecation resulting in a potential SQL injection even if a deprecation warning is emitted. As a mitigation the strict column reference validation was restored for the duration of the deprecation period. This regression appeared in 3.1 as a ...
https://man.mtool.work/django/6.1/releases/3.2.5.html
コンテンツセキュリティポリシー 8538
コンテンツセキュリティポリシー 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 ... pose sensitive data. SELF Represents 'self' . Allows loading resources from the same origin (same scheme, host, and port). STRICT_DYNAMIC Represents 'strict-dynamic' . Allows execution of scripts loaded by a trusted script (e.g., one with a valid nonce ...
https://man.mtool.work/django/6.1/ref/csp.html
PREV 1 2 3 4 NEXT