... action ( location = [ ActionLocation . CHANGE_FORM , ActionLocation . CHANGE_LIST ], description = "Publish" , description_plural = "Mark selected stories as published" , ) def make_published ( modeladmin , request , queryset ): ... Notice that descrip ... tion and description_plural were provided. These are optional but the admin action will be labeled by description in the admin change form and descrip ... tion_plural in the admin change list. You can customize how actions are rendered by overriding admin templates. The change list page u ... ... action ( location = [ ActionLocation . CHANGE_FORM , ActionLocation . CHANGE_LIST ], description = "Publish" , description_plural = "Mark selected stories as published" , ) def make_published ( modeladmin , request , queryset ): ... Notice that descrip ... tion and description_plural were provided. These are optional but the admin action will be labeled by description in the admin change form and descrip ... tion_plural in the admin change list. You can customize how actions are rendered by overriding admin templates. The change list page u ... ... ent plural equations for the same language ( #30439 ). 目次 Django 2.2.12 リリースノート バグ修正 前のトピックへ Django 2.2.13 リリー ... 2.2.11 リリースノート 関連キーワード リリースノート April fixes バグ 修正 Added ability handle files containing different plural equations language クイック検索 Last update: 2026年10月09日 « previous | up | next » ... ... ent plural equations for the same language ( #30439 ). 目次 Django 2.2.12 リリースノート バグ修正 前のトピックへ Django 2.2.13 リリー ... ースノート 関連キーワード Django リリースノート April fixes bug バグ 修正 Added ability handle po files containing different plural equations language 関連するページ Django 3.0.5 リリースノート Django 1.4.12 リリースノート Django 1.5.7 リリースノート Dja ... ... r can't be retrieved, such as if the database is unavailable ( #27567 ). Fixed occasional missing plural forms in JavaScriptCatalog ( #27418 ). Fixed a regression in the timesince and timeuntil filters that caused incorrect res ... January fixes several bugs バグ 修正 crash debug view request user can't retrieved database unavailable occasional missing plural forms JavaScriptCatalog timesince timeuntil クイック検索 Last update: 2026年10月09日 « previous | up | next » ... ... po files containing different plural equations for the same language ( #30439 ). Fixed a regression in Django 3.0 where QuerySet.values() and values_list() cra ... 3.0.4 リリースノート 関連キーワード バグ 修正 values リリースノート April Added ability handle files containing different plural equations language Fixed regression QuerySet list crashed queryset contained aggregation Subquery annotation collides クイ ... ... po files containing different plural equations for the same language ( #30439 ). Fixed a regression in Django 3.0 where QuerySet.values() and values_list() cra ... ノート 関連キーワード Django バグ 修正 values リリースノート April いくつ Added ability handle po files containing different plural equations language Fixed regression QuerySet 関連するページ Django 2.2.12 リリースノート Django 1.4.12 リリースノート Djan ... ... が表示されるとき) で翻訳される必要があるからです。 複数形 ¶ Use the function django.utils.translation.ngettext() to specify pluralized messages. ngettext は 3 つの引数を取ります: 単数形の文字列、複数形の文字列、オブジェクトの数です。 この関数は、Django ... port . objects . count () if count == 1 : name = Report . _meta . verbose_name else : name = Report . _meta . verbose_name_plural text = ngettext ( "There is %(count)d %(name)s available." , "There are %(count)d %(name)s available." , count , ) % { "co ... で間違っている以外に、失敗するでしょう: text = ngettext ( "There is %(count)d %(name)s available." , "There are %(count)d %(plural_name)s available." , count , ) % { "count" : Report . objects . count (), "name" : Report . _meta . verbose_name , "plural ... ... が表示されるとき) で翻訳される必要があるからです。 複数形 ¶ Use the function django.utils.translation.ngettext() to specify pluralized messages. ngettext は 3 つの引数を取ります: 単数形の文字列、複数形の文字列、オブジェクトの数です。 この関数は、Django ... port . objects . count () if count == 1 : name = Report . _meta . verbose_name else : name = Report . _meta . verbose_name_plural text = ngettext ( "There is %(count)d %(name)s available." , "There are %(count)d %(name)s available." , count , ) % { "co ... で間違っている以外に、失敗するでしょう: text = ngettext ( "There is %(count)d %(name)s available." , "There are %(count)d %(plural_name)s available." , count , ) % { "count" : Report . objects . count (), "name" : Report . _meta . verbose_name , "plural ... ... e = "pizza" 指定されない場合、 Django はクラス名を小文字にして使います。 CamelCase は camel case になります。 verbose_name_plural ¶ Options. verbose_name_plural ¶ オブジェクトの名前の複数形: verbose_name_plural = "stories" 指定されない場合、 Django は ... proxy required_db_features required_db_vendor select_on_save indexes unique_together constraints verbose_name verbose_name_plural 読み取り専用の Meta 属性 label label_lower 前のトピックへ Model クラスのリファレンス 次のトピックへ モデルインスタンスリフ ... 2026年10月08日