... wer , str ) その後、次のようにします: lazy_string = to_lower_lazy ( _ ( "My STRING!" )) 言語のローカライズされた名前 ¶ get_language_info ( lang_code ) [ソース] ¶ get_language_info() 関数は、言語について詳細な情報を提供します: >>> from django.utils.transl ... ation import activate , get_language_info >>> activate ( "fr" ) >>> li = get_language_info ( "de" ) >>> print ( li [ "name" ], li [ "name_local" ], li [ "name_ ... an Deutsch Allemand False The name , name_local , and name_translated attributes of the dictionary contain the name of the language in English, in the language itself, and in your current active language respectively. The bidi attribute is True only for ... ... wer , str ) その後、次のようにします: lazy_string = to_lower_lazy ( _ ( "My STRING!" )) 言語のローカライズされた名前 ¶ get_language_info ( lang_code ) [ソース] ¶ get_language_info() 関数は、言語について詳細な情報を提供します: >>> from django.utils.transl ... ation import activate , get_language_info >>> activate ( "fr" ) >>> li = get_language_info ( "de" ) >>> print ( li [ "name" ], li [ "name_local" ], li [ "name_ ... an Deutsch Allemand False The name , name_local , and name_translated attributes of the dictionary contain the name of the language in English, in the language itself, and in your current active language respectively. The bidi attribute is True only for ... ... ty "high" according to the Django security policy . CVE-2026-15337: Potential denial-of-service vulnerability in check_for_language() ¶ check_for_language() was subject to a potential denial-of-service attack when checking many distinct, very long langua ... ge codes. Each code was used as a key in an in-memory cache, consuming process memory. The language value reaches this function through the django.views.i18n.set_language() view (not active by default) from POST data. Sinc ... gured to store a maximum number of entries, the memory that could be consumed was bounded. To mitigate this vulnerability, language codes longer than 500 characters are now rejected before the cached lookup. This issue has severity "low" according to the ... ... ty "high" according to the Django security policy . CVE-2026-15337: Potential denial-of-service vulnerability in check_for_language() ¶ check_for_language() was subject to a potential denial-of-service attack when checking many distinct, very long langua ... ge codes. Each code was used as a key in an in-memory cache, consuming process memory. The language value reaches this function through the django.views.i18n.set_language() view (not active by default) from POST data. Sinc ... gured to store a maximum number of entries, the memory that could be consumed was bounded. To mitigate this vulnerability, language codes longer than 500 characters are now rejected before the cached lookup. This issue has severity "low" according to the ... ... ty "high" according to the Django security policy . CVE-2026-15337: Potential denial-of-service vulnerability in check_for_language() ¶ check_for_language() was subject to a potential denial-of-service attack when checking many distinct, very long langua ... ge codes. Each code was used as a key in an in-memory cache, consuming process memory. The language value reaches this function through the django.views.i18n.set_language() view (not active by default) from POST data. Sinc ... gured to store a maximum number of entries, the memory that could be consumed was bounded. To mitigate this vulnerability, language codes longer than 500 characters are now rejected before the cached lookup. This issue has severity "low" according to the ... ... ty "high" according to the Django security policy . CVE-2026-15337: Potential denial-of-service vulnerability in check_for_language() ¶ check_for_language() was subject to a potential denial-of-service attack when checking many distinct, very long langua ... ge codes. Each code was used as a key in an in-memory cache, consuming process memory. The language value reaches this function through the django.views.i18n.set_language() view (not active by default) from POST data. Sinc ... gured to store a maximum number of entries, the memory that could be consumed was bounded. To mitigate this vulnerability, language codes longer than 500 characters are now rejected before the cached lookup. This issue has severity "low" according to the ... ... Accept-Language ヘッダーを通じた Dos 攻撃の可能性 ¶ The parsed values of Accept-Language headers are cached in order to avoid repetitive p ... ervice vector via excessive memory usage if large header values are sent. In order to avoid this vulnerability, the Accept-Language header is now parsed up to a maximum length. 目次 Django 3.2.17 リリースノート CVE-2023-23969: Accept-Language ヘッダーを通 ... 攻撃の可能性 前のトピックへ Django 3.2.18 リリースノート 次のトピックへ Django 3.2.16 リリースノート 関連キーワード Accept Language parsed values order avoid header リリースノート 1日 moderate セキュリティ 問題 修正 ヘッダー 攻撃 可能性 headers cached re ... ... cept-Language ヘッダーを通じた Dos 攻撃の可能性 ¶ The parsed values of Accept-Language headers are cached in order to avoid repetitive p ... ervice vector via excessive memory usage if large header values are sent. In order to avoid this vulnerability, the Accept-Language header is now parsed up to a maximum length. 目次 Django 4.0.9 リリースノート CVE-2023-23969: Accept-Language ヘッダーを通 ... 攻撃の可能性 前のトピックへ Django 4.0.10 リリースノート 次のトピックへ Django 4.0.8 リリースノート 関連キーワード Accept Language parsed values order avoid header リリースノート 1日 moderate セキュリティ 問題 修正 ヘッダー 攻撃 可能性 headers cached re ... ... t_session_cookie_age() method allows dynamically specifying the session cookie age. django.contrib.syndication ¶ Added the language class attribute to the django.contrib.syndication.views.Feed to customize a feed language. The default value is get_langua ... ge() instead of LANGUAGE_CODE . キャッシュ ¶ add_never_cache_headers() and never_cache() now add the private directive to Cache-Control headers. フ ... der by setting the ordering_widget attribute or overriding get_ordering_widget . 国際化 (internationalization) ¶ Added the LANGUAGE_COOKIE_HTTPONLY , LANGUAGE_COOKIE_SAMESITE , and LANGUAGE_COOKIE_SECURE settings to set the HttpOnly , SameSite , and Secu ... ... t_session_cookie_age() method allows dynamically specifying the session cookie age. django.contrib.syndication ¶ Added the language class attribute to the django.contrib.syndication.views.Feed to customize a feed language. The default value is get_langua ... ge() instead of LANGUAGE_CODE . キャッシュ ¶ add_never_cache_headers() and never_cache() now add the private directive to Cache-Control headers. フ ... der by setting the ordering_widget attribute or overriding get_ordering_widget . 国際化 (internationalization) ¶ Added the LANGUAGE_COOKIE_HTTPONLY , LANGUAGE_COOKIE_SAMESITE , and LANGUAGE_COOKIE_SECURE settings to set the HttpOnly , SameSite , and Secu ... 2026年10月08日