per page, with , order by , clip by
Results of 1 - 10 of about 32 for parse (0.004 sec.)
Django 2.2.19 リリースノート 12984
Django 2.2.19 リリースノート February 19, 2021 Django 2.2.19 fixes a security issue in 2.2.18. CVE-2021-23336: Web cache poisoning via django.utils.http.limited_parse_qsl() Django contains a copy of urllib.parse.parse_qsl() which was added ... to backport some security fixes. A further security fix has been issued recently such that parse_qsl() no longer allows using ; as a query parameter separator by default. Django now includes this fix. See bpo-42967 for ...
https://man.mtool.work/django/6.1/releases/2.2.19.html
Django 3.0.13 リリースノート 12984
Django 3.0.13 リリースノート February 19, 2021 Django 3.0.13 fixes a security issue in 3.0.12. CVE-2021-23336: Web cache poisoning via django.utils.http.limited_parse_qsl() Django contains a copy of urllib.parse.parse_qsl() which was added ... to backport some security fixes. A further security fix has been issued recently such that parse_qsl() no longer allows using ; as a query parameter separator by default. Django now includes this fix. See bpo-42967 for ...
https://man.mtool.work/django/6.1/releases/3.0.13.html
Django 3.1.7 リリースノート 12597
Django 3.1.7 リリースノート February 19, 2021 Django 3.1.7 fixes a security issue and a bug in 3.1.6. CVE-2021-23336: Web cache poisoning via django.utils.http.limited_parse_qsl() Django contains a copy of urllib.parse.parse_qsl() which was ... added to backport some security fixes. A further security fix has been issued recently such that parse_qsl() no longer allows using ; as a query parameter separator by default. Django now includes this fix. See bpo-42967 for ...
https://man.mtool.work/django/6.1/releases/3.1.7.html
独自のテンプレートタグとフィルタを作る 8618
独自のテンプレートタグとフィルタを作る Django のテンプレート言語は、アプリケーションのプレゼンテーションロジックのニーズに対応するように設計された、多種多様な 埋め込みタグやフィルタ を搭載しています。それでもなお、テンプレート構成要素のコア ... パーサは、パラメータを取得して Node オブジェクトを作成する必要があります: from django import template def do_current_time ( parser , token ): try : # split_contents() knows not to split quoted strings. tag_name , format_string = token . split_contents ... taxError ( " %r tag's argument should be in quotes" % tag_name ) return CurrentTimeNode ( format_string [ 1 : - 1 ]) メモ: parser はテンプレートパーサーオブジェクトです。この例では不要です。 token.contents はタグの生の内容を表す文字列です。この例では ... ルタ登録と同様に、これをデコレータとして使うこともできます。 @register . tag ( name = "current_time" ) def do_current_time ( parser , token ): ... @register . tag def shout ( parser , token ): ... name 引数を省略した場合、上記の2番目の例と同じように、Dj ...
https://man.mtool.work/django/6.1/howto/custom-template-tags.html
Django 5.2.18 release notes 8441
Django 5.2.18 release notes October 6, 2026 Django 5.2.18 fixes one security issue with severity "low", three security issues with severity "moderate", and provides a fix for an insufficient security mitigation in 5.2.17. It also fixes one ... jango security policy . CVE-2026-84429: Potential denial-of-service vulnerability in HTTP header parsing django.utils.http.parse_header_parameters() was subject to a potential denial-of-service attack due to quadratic time complexity when parsing a va ... pts() . The per-call length limit does not bound the combined size of repeated headers. The undocumented django.utils.http.parse_header_parameters() function now uses Python's email.message.Message for parsing. As a result, parsing of some malformed o ...
https://man.mtool.work/django/6.1/releases/5.2.18.html
Django 6.0.9 release notes 8441
Django 6.0.9 release notes October 6, 2026 Django 6.0.9 fixes one security issue with severity "low", three security issues with severity "moderate", and provides a fix for an insufficient security mitigation in 6.0.8. It also fixes one dat ... jango security policy . CVE-2026-84429: Potential denial-of-service vulnerability in HTTP header parsing django.utils.http.parse_header_parameters() was subject to a potential denial-of-service attack due to quadratic time complexity when parsing a va ... pts() . The per-call length limit does not bound the combined size of repeated headers. The undocumented django.utils.http.parse_header_parameters() function now uses Python's email.message.Message for parsing. As a result, parsing of some malformed o ...
https://man.mtool.work/django/6.1/releases/6.0.9.html
Django 6.1.2 release notes 8151
Django 6.1.2 release notes October 6, 2026 Django 6.1.2 fixes one security issue with severity "low", three security issues with severity "moderate", and provides a fix for an insufficient security mitigation in 6.1. It also fixes one data ... jango security policy . CVE-2026-84429: Potential denial-of-service vulnerability in HTTP header parsing django.utils.http.parse_header_parameters() was subject to a potential denial-of-service attack due to quadratic time complexity when parsing a va ... pts() . The per-call length limit does not bound the combined size of repeated headers. The undocumented django.utils.http.parse_header_parameters() function now uses Python's email.message.Message for parsing. As a result, parsing of some malformed o ...
https://man.mtool.work/django/6.1/releases/6.1.2.html
Unicode データ 8054
Unicode データ Django はどこでも Unicode データをサポートしています。 この文書は、ASCII以外のエンコーディングでデータやテンプレートを使用するアプリケーションを書く場合に、知っておくべきことを説明します。 データベースの作成 データベースが任意 ... , which implements the conversion from IRI to URI as required by RFC 3987 Section 3.1 . Python 標準ライブラリからの urllib.parse.quote() と urllib.parse.quote_plus() 関数。 これら2つの関数のグループは、わずかに異なる目的があり、それらを区別することが重 ... 文字列やそれに類するものを台無しにすることはないという意味です。 ここで例を挙げるとより理解しやすくなります: >>> from urllib.parse import quote >>> from django.utils.encoding import iri_to_uri >>> quote ( "Paris & Orléans" ) 'Paris%20%26%20Orl%C3%A9ans' ... 理する必要があります。この場合、 above で説明された iri_to_uri() 関数と quote() 関数を使用してください。例えば: from urllib.parse import quote from django.utils.encoding import iri_to_uri def get_absolute_url ( self ): url = "/person/ %s /?x=0&y=0" % q ...
https://man.mtool.work/django/6.1/ref/unicode.html
django.urls ユーティリティ関数 8054
django.urls ユーティリティ関数 reverse() reverse() 関数は指定したビューと任意のパラメータに対して、 url タグと同様に、絶対パス参照を返すために使用します。 reverse ( viewname , urlconf = None , args = None , kwargs = None , current_app = Non ... す。 query キーワード引数は、返される URL に追加するパラメータを指定します。これは GET` など)のインスタンス、または urllib.parse.urlencode() と互換性のある任意の値を受け付けます。エンコードされたクエリ文字列は先頭に ? を付加して、解決された URL に追加 ... verse ( "cities" , args = [ "Orléans" ]) '.../Orl%C3%A9ans/' reverse() の出力に対してさらにエンコーディング(例えば urllib.parse.quote() など)を適用すると、望ましくない結果が生じることがあります。 クラスベースのビューをビューオブジェクトで逆引きする ... の可能な使用例の一つは、リダイレクトする前にビューが Http404 エラーを発生させるかどうかをテストすることです。 from urllib.parse import urlsplit from django.urls import resolve from django.http import Http404 , HttpResponseRedirect def myview ( reques ...
https://man.mtool.work/django/6.1/ref/urlresolvers.html
Django 3.1 リリースノート 8054
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... ueError in to_url() to indicate no match when reversing URLs. ユーティリティ filepath_to_uri() now supports pathlib.Path . parse_duration() now supports comma separators for decimal fractions in the ISO 8601 format. parse_datetime() , parse_duration() ... , and parse_time() now support comma separators for milliseconds. その他 The SQLite backend now supports pathlib.Path for the NAME set ...
https://man.mtool.work/django/6.1/releases/3.1.html
PREV 1 2 3 4 NEXT