per page, with , order by , clip by
Results of 1 - 4 of about 4 for FieldListFilter (0.002 sec.)
ModelAdmin リストフィルタ 12186
ModelAdmin リストフィルタ ModelAdmin クラスは、以下のスクリーンショットのように、admin アプリケーションの変更一覧ページの右サイドバーに表示されるリストフィルタを定義できます: フィールドごとのフィルタリングを有効にするには、 ModelAdmin.list_ ... なければなりません: フィールド名。 django.contrib.admin.SimpleListFilter のサブクラス。 フィールド名と django.contrib.admin.FieldListFilter のサブクラスを含む 2値タプル。 list_filter を定義するための各オプションについては、以下の例を参照してください。 フィールド ... ), birthday__lte = date ( 1999 , 12 , 31 ), ) . exists (): yield ( "90s" , _ ( "in the nineties" )) フィールド名と明示的な FieldListFilter を使用する 最後に、フィールドに使用する明示的なフィルタタイプを指定したい場合は、2値タプルとして list_filter 項目を指定でき ... ます。最初の要素はフィールド名で、2番目の要素は django.contrib.admin.FieldListFilter を継承したクラスです。例: class PersonAdmin ( admin . ModelAdmin ): list_filter = [ ( "is_staff" , admin . BooleanFieldLis ...
https://man.mtool.work/django/6.1/ref/contrib/admin/filters.html
Django 1.11.3 リリースノート 9431
Django 1.11.3 リリースノート July 1, 2017 Django 1.11.3 fixes several bugs in 1.11.2. バグ修正 Removed an incorrect deprecation warning about a missing renderer argument if a Widget.render() method accepts **kwargs ( #28265 ). Fixed a regre ... correct DisallowedModelAdminLookup exception when using a nested reverse relation in list_filter ( #28262 ). Fixed admin's FieldListFilter.get_queryset() crash on invalid input ( #28202 ). Fixed invalid HTML for a required AdminFileWidget ( #28278 ). Fixed mode ...
https://man.mtool.work/django/6.1/releases/1.11.3.html
システムチェックフレームワーク 7674
システムチェックフレームワーク システムチェックフレームワークは、Django プロジェクトを検証するための静的チェックのセットです。一般的な問題を検出し、それらを修正するヒントを提供します。このフレームワークは拡張性があり、独自のチェックを簡単に ... なりません。 admin.E113 : list_filter[n] の値は ListFilter を継承している必要があります。 admin.E114 : list_filter[n] の値は FieldListFilter を継承してはいけません。 admin.E115 : list_filter[n][1] の値は FieldListFilter を継承する必要があります。 admin.E116 : lis ...
https://man.mtool.work/django/6.1/ref/checks.html
Django 4.1 リリースノート 7674
Django 4.1 リリースノート 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... mode CSS variables are now applied in a separate stylesheet and template block. ModelAdmin リストフィルタ providing custom FieldListFilter subclasses can now control the query string value separator when filtering for multiple values using the __in lookup. The ...
https://man.mtool.work/django/6.1/releases/4.1.html
PREV 1 NEXT