... します。 注釈 プロジェクトで翻訳機能が有効になっていることを確認してください (最も早いのは、 MIDDLEWARE が django.middleware.locale.LocaleMiddleware を含むかどうかチェックすることです) 。まだの場合は、 Django はどうやって言語の優先順位を検出するのか? を参 ... active language respectively. The bidi attribute is True only for bi-directional languages. 言語情報のソースは django.conf.locale モジュールです。テンプレートコードでも、この情報に対して同じようにアクセスできます。以下を参照してください。 国際化: テンプ ... す。 packages ¶ A list of application names ( AppConfig.name ) among the installed applications. Those apps should contain a locale directory. All those catalogs plus all catalogs found in LOCALE_PATHS (which are always included) are merged into one cata ... ... します。 注釈 プロジェクトで翻訳機能が有効になっていることを確認してください (最も早いのは、 MIDDLEWARE が django.middleware.locale.LocaleMiddleware を含むかどうかチェックすることです) 。まだの場合は、 Django はどうやって言語の優先順位を検出するのか? を参 ... active language respectively. The bidi attribute is True only for bi-directional languages. 言語情報のソースは django.conf.locale モジュールです。テンプレートコードでも、この情報に対して同じようにアクセスできます。以下を参照してください。 国際化: テンプ ... す。 packages ¶ A list of application names ( AppConfig.name ) among the installed applications. Those apps should contain a locale directory. All those catalogs plus all catalogs found in LOCALE_PATHS (which are always included) are merged into one cata ... ... akemessages が作成した .po ファイルを .mo ファイルにコンパイルします。詳しくは 国際化とローカライズ を参照してください。 --locale LOCALE , -l LOCALE ¶ 処理する locale を指定します。提供されなかった場合、すべてのロケールが処理されます。 --exclude EXCLUD ... E , -x EXCLUDE ¶ 処理から除外する locale を指定します。提供されなかった場合、どのロケールも除外されません。 --use-fuzzy , -f ¶ fuzzy な翻訳 をコンパイルされたファイ ... ルに含めます 使用例: django-admin compilemessages --locale=pt_BR django-admin compilemessages --locale=pt_BR --locale=fr -f django-admin compilemessages -l pt_BR django-admin compil ... ... akemessages が作成した .po ファイルを .mo ファイルにコンパイルします。詳しくは 国際化とローカライズ を参照してください。 --locale LOCALE , -l LOCALE ¶ 処理する locale を指定します。提供されなかった場合、すべてのロケールが処理されます。 --exclude EXCLUD ... E , -x EXCLUDE ¶ 処理から除外する locale を指定します。提供されなかった場合、どのロケールも除外されません。 --use-fuzzy , -f ¶ fuzzy な翻訳 をコンパイルされたファイ ... ルに含めます 使用例: django-admin compilemessages --locale=pt_BR django-admin compilemessages --locale=pt_BR --locale=fr -f django-admin compilemessages -l pt_BR django-admin compil ... ... cedence than the ones listed later. Now it is possible to override the translations shipped with applications by using the LOCALE_PATHS setting whose translations have now higher precedence than the translations of INSTALLED_APPS applications. The rela ... ed in this setting has also been modified so the paths listed first have higher precedence than the ones listed later. The locale subdirectory of the directory containing the settings, that usually coincides with and is known as the project directory i ... n this release as a source of translations. (the precedence of these translations is intermediate between applications and LOCALE_PATHS translations). See the corresponding deprecated features section of this document. For translatable literals found i ... ... n class Migration ( migrations . Migration ): ... operations = [ CreateCollation ( "case_insensitive" , provider = "icu" , locale = "und-u-ks-level2" , deterministic = False , ), ... , ] class CreateCollation ( name , locale , * , provider = 'libc' , d ... eterministic = True ) [ソース] ¶ 与えられた name 、 locale 、および provider で照合順序を作成します。 大文字小文字を区別しないフィルタリングなど、非決定的な照合順序を作成するには、 ... deterministic パラメータを False に設定します。 class RemoveCollation ( name , locale , * , provider = 'libc' , deterministic = True ) [ソース] ¶ name という照合順序を削除します。 逆順にすると、指定された loc ... ... cedence than the ones listed later. Now it is possible to override the translations shipped with applications by using the LOCALE_PATHS setting whose translations have now higher precedence than the translations of INSTALLED_APPS applications. The rela ... ed in this setting has also been modified so the paths listed first have higher precedence than the ones listed later. The locale subdirectory of the directory containing the settings, that usually coincides with and is known as the project directory i ... n this release as a source of translations. (the precedence of these translations is intermediate between applications and LOCALE_PATHS translations). See the corresponding deprecated features section of this document. For translatable literals found i ... ... n class Migration ( migrations . Migration ): ... operations = [ CreateCollation ( "case_insensitive" , provider = "icu" , locale = "und-u-ks-level2" , deterministic = False , ), ... , ] class CreateCollation ( name , locale , * , provider = 'libc' , d ... eterministic = True ) [ソース] ¶ 与えられた name 、 locale 、および provider で照合順序を作成します。 大文字小文字を区別しないフィルタリングなど、非決定的な照合順序を作成するには、 ... deterministic パラメータを False に設定します。 class RemoveCollation ( name , locale , * , provider = 'libc' , deterministic = True ) [ソース] ¶ name という照合順序を削除します。 逆順にすると、指定された loc ... ... d (#21410). Fixed Queryset.datetimes raising AttributeError in some situations (#21432). Fixed ModelBackend raising UnboundLocalError if get_user_model() raised an error (#21439). Fixed a regression that prevented editable GenericRelation subclasses fr ... querysets for foreign keys were overwritten if ModelAdmin had ordering set (#21405). Removed mention of a feature in the --locale / -l option of the makemessages and compilemessages commands that never worked as promised: Support of multiple locale nam ... es separated by commas. It's still possible to specify multiple locales in one run by using the option multiple times (#21488, #17181). Fixed a regression that unnecessarily triggered settings ... ... URL における潜在的な Dos 攻撃の脆弱性 ¶ Internationalized URLs were subject to potential denial of service attack via the locale parameter. 目次 Django 3.2.16 リリースノート CVE-2022-41323: 国際化対応した URL における潜在的な Dos 攻撃の脆弱性 前のトピ ... edium セキュリティ 問題 修正 国際化 潜在的 攻撃 脆弱性 Internationalized URLs were subject potential denial service attack locale parameter クイック検索 Last update: 2026年10月09日 « previous | up | next » ... 2026年10月08日