... ションは ModelAdmin サブクラスで定義します: from django.contrib import admin class AuthorAdmin ( admin . ModelAdmin ): date_hierarchy = "pub_date" ModelAdmin. actions ¶ チェンジリストページで有効化するアクションのリストです。詳細は 管理アクション を参照して ... す。デフォルトでは、admin チェンジリストは表示するようになっています ( actions_selection_counter = True )。 ModelAdmin. date_hierarchy ¶ date_hierarchy をモデル内の DateField か DateTimeField の名前にセットすると、チェンジリストのページがそのフィールドによる ... 日付ベースのドリルダウンナビゲーションを含むようになります。 実装例: date_hierarchy = "pub_date" __ ルックアップを使用して、関連するモデルのフィールドを指定することもできます。たとえば: date_hierarchy = "au ... ... differentiated into a number of subclasses, and each will log to a matching named logger under the django.security logging hierarchy. Along with this change, a handler400 mechanism and default view are used whenever a SuspiciousOperation reaches the WSGI ... s() raises an error if it's used on DateTimeField when time zone support is active. Use QuerySet.datetimes() instead. date_hierarchy requires time zone definitions ¶ The date_hierarchy feature of the admin now relies on QuerySet.datetimes() when it's used ... tion of QuerySet.datetimes() QuerySet.dates() returns date objects QuerySet.dates() no longer usable on DateTimeField date_hierarchy requires time zone definitions date_list in generic views requires time zone definitions New lookups may clash with model ... ... ションは ModelAdmin サブクラスで定義します: from django.contrib import admin class AuthorAdmin ( admin . ModelAdmin ): date_hierarchy = "pub_date" ModelAdmin. actions ¶ チェンジリストページで有効化するアクションのリストです。詳細は 管理アクション を参照して ... す。デフォルトでは、admin チェンジリストは表示するようになっています ( actions_selection_counter = True )。 ModelAdmin. date_hierarchy ¶ date_hierarchy をモデル内の DateField か DateTimeField の名前にセットすると、チェンジリストのページがそのフィールドによる ... 日付ベースのドリルダウンナビゲーションを含むようになります。 実装例: date_hierarchy = "pub_date" __ ルックアップを使用して、関連するモデルのフィールドを指定することもできます。たとえば: date_hierarchy = "au ... ... differentiated into a number of subclasses, and each will log to a matching named logger under the django.security logging hierarchy. Along with this change, a handler400 mechanism and default view are used whenever a SuspiciousOperation reaches the WSGI ... s() raises an error if it's used on DateTimeField when time zone support is active. Use QuerySet.datetimes() instead. date_hierarchy requires time zone definitions ¶ The date_hierarchy feature of the admin now relies on QuerySet.datetimes() when it's used ... tion of QuerySet.datetimes() QuerySet.dates() returns date objects QuerySet.dates() no longer usable on DateTimeField date_hierarchy requires time zone definitions date_list in generic views requires time zone definitions New lookups may clash with model ... ... e deletion process of the delete view and the "delete selected" action. The actions.html , change_list_results.html , date_hierarchy.html , pagination.html , prepopulated_fields_js.html , search_form.html , and submit_line.html templates can now be overri ... nflicts with the class given to model fields named "box". Since the admin's actions.html , change_list_results.html , date_hierarchy.html , pagination.html , prepopulated_fields_js.html , search_form.html , and submit_line.html templates can now be overri ... ... e deletion process of the delete view and the "delete selected" action. The actions.html , change_list_results.html , date_hierarchy.html , pagination.html , prepopulated_fields_js.html , search_form.html , and submit_line.html templates can now be overri ... nflicts with the class given to model fields named "box". Since the admin's actions.html , change_list_results.html , date_hierarchy.html , pagination.html , prepopulated_fields_js.html , search_form.html , and submit_line.html templates can now be overri ... ... ドを処理する際に LocaleMiddleware がクラッシュするリグレッションを修正しました ( #35627 )。 Django 5.0 で、 ModelAdmin.date_hierarchy が DateField または DateTimeField の output_field を持つ GeneratedField であった場合にシステムチェックがクラッシュするバグ ... ... ドを処理する際に LocaleMiddleware がクラッシュするリグレッションを修正しました ( #35627 )。 Django 5.0 で、 ModelAdmin.date_hierarchy が DateField または DateTimeField の output_field を持つ GeneratedField であった場合にシステムチェックがクラッシュするバグ ... ... e. 参考 The following ModelAdmin options allow further customization of change lists: list_per_page , search_fields , date_hierarchy , and list_display . 管理サイトのルック & フィールをカスタマイズする ¶ 管理サイトの上部には「Django 管理サイト (Django adm ... ... admin を通じて編集できません。 admin.E126 : search_fields の値はリストまたはタプルでなければいけません。 admin.E127 : date_hierarchy の値は <field name> を参照していますが、Field を参照していません。 admin.E128 : date_hierarchy の値は DateField または Dat ... 2026年10月08日