per page, with , order by , clip by
Results of 1 - 10 of about 38 for actions (0.012 sec.)
管理アクション — Django 6.1 ドキュメント 13428
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 管理アクション ¶ Djangoの管理者の基本的な仕事は、一言で言えば、「オブジェクトを選択し、それを変更する」ことに尽きます。これは大多数のユースケースに当 ... e ( status = "p" ) class ArticleAdmin ( admin . ModelAdmin ): list_display = [ "title" , "status" ] ordering = [ "title" ] actions = [ make_published ] admin . site . register ( Article , ArticleAdmin ) このコードによって、次のような admin チェンジリスト ... in オブジェクト自体にフックするほうが理にかなっています。 次のようにします: class ArticleAdmin ( admin . ModelAdmin ): ... actions = [ "make_published" ] @admin . action ( description = "Mark selected stories as published" ) def make_published ( self , ... メソッドに移動し、 modeladmin パラメータの名前を self に変更していることに注意してください。次に、関数を直接参照する代わりに actions に 'make_published' という文字列を指定していることに注意してください。これは ModelAdmin にアクションをメソッドとして検索す ...
https://man.mtool.work/django/6.1/ref/contrib/admin/actions.html
管理アクション — Django 6.1 ドキュメント 13428
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 管理アクション ¶ Djangoの管理者の基本的な仕事は、一言で言えば、「オブジェクトを選択し、それを変更する」ことに尽きます。これは大多数のユースケースに当 ... e ( status = "p" ) class ArticleAdmin ( admin . ModelAdmin ): list_display = [ "title" , "status" ] ordering = [ "title" ] actions = [ make_published ] admin . site . register ( Article , ArticleAdmin ) このコードによって、次のような admin チェンジリスト ... in オブジェクト自体にフックするほうが理にかなっています。 次のようにします: class ArticleAdmin ( admin . ModelAdmin ): ... actions = [ "make_published" ] @admin . action ( description = "Mark selected stories as published" ) def make_published ( self , ... メソッドに移動し、 modeladmin パラメータの名前を self に変更していることに注意してください。次に、関数を直接参照する代わりに actions に 'make_published' という文字列を指定していることに注意してください。これは ModelAdmin にアクションをメソッドとして検索す ...
https://man.mtool.work/django/6.1/ref/contrib/admin/actions.html
フォームアセット (Media クラス) — Django 6.1 ドキュメント 10362
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォームアセット ( Media クラス) ¶ 魅力的で使いやすいウェブのフォームを作るには、HTML だけでは不十分です。CSS スタイルシートも必要です。さらに豪華な ... ms class CalendarWidget ( forms . TextInput ): class Media : css = { "all" : [ "pretty.css" ], } js = [ "animations.js" , "actions.js" ] このコードでは、 CalendarWidget を定義しており、これは TextInput に基づいています。CalendarWidget をフォーム上で使用 ... すると、CSS ファイル pretty.css と JavaScript ファイル animations.js および actions.js を読み込めるようになります。 この静的定義は実行時に media というウィジェットプロパティに変換されます。 CalendarWidget イ ... rel="stylesheet"> <script src="https://static.example.com/animations.js"></script> <script src="https://static.example.com/actions.js"></script> 以下は指定可能な Media オプションです。必須のものはありません。 css ¶ 様々な形式の出力メディアに対して、必要 ...
https://man.mtool.work/django/6.1/topics/forms/media.html
フォームアセット (Media クラス) — Django 6.1 ドキュメント 10079
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォームアセット ( Media クラス) ¶ 魅力的で使いやすいウェブのフォームを作るには、HTML だけでは不十分です。CSS スタイルシートも必要です。さらに豪華な ... ms class CalendarWidget ( forms . TextInput ): class Media : css = { "all" : [ "pretty.css" ], } js = [ "animations.js" , "actions.js" ] このコードでは、 CalendarWidget を定義しており、これは TextInput に基づいています。CalendarWidget をフォーム上で使用 ... すると、CSS ファイル pretty.css と JavaScript ファイル animations.js および actions.js を読み込めるようになります。 この静的定義は実行時に media というウィジェットプロパティに変換されます。 CalendarWidget イ ... rel="stylesheet"> <script src="https://static.example.com/animations.js"></script> <script src="https://static.example.com/actions.js"></script> 以下は指定可能な Media オプションです。必須のものはありません。 css ¶ 様々な形式の出力メディアに対して、必要 ...
https://man.mtool.work/django/6.1/topics/forms/media.html
Django 2.2 リリースノート — Django 6.1 ドキュメント 9292
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2 リリースノート ¶ April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレー ... _sql() and _delete_check_sql() The third argument of DatabaseWrapper.__init__() , allow_thread_sharing , is removed. Admin actions are no longer collected from base ModelAdmin classes ¶ For example, in older versions of Django: from django.contrib impor ... t admin class BaseAdmin ( admin . ModelAdmin ): actions = [ "a" ] class SubAdmin ( BaseAdmin ): actions = [ "b" ] SubAdmin would have actions 'a' and 'b' . Now actions follows st ... andard Python inheritance. To get the same result as before: class SubAdmin ( BaseAdmin ): actions = BaseAdmin . actions + [ "b" ] django.contrib.gis ¶ Support for GDAL 1.9 and 1.10 is dropped. TransactionTestCase seriali ...
https://man.mtool.work/django/6.1/releases/2.2.html
Django 2.2 リリースノート — Django 6.1 ドキュメント 9292
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2 リリースノート ¶ April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレー ... _sql() and _delete_check_sql() The third argument of DatabaseWrapper.__init__() , allow_thread_sharing , is removed. Admin actions are no longer collected from base ModelAdmin classes ¶ For example, in older versions of Django: from django.contrib impor ... t admin class BaseAdmin ( admin . ModelAdmin ): actions = [ "a" ] class SubAdmin ( BaseAdmin ): actions = [ "b" ] SubAdmin would have actions 'a' and 'b' . Now actions follows st ... andard Python inheritance. To get the same result as before: class SubAdmin ( BaseAdmin ): actions = BaseAdmin . actions + [ "b" ] django.contrib.gis ¶ Support for GDAL 1.9 and 1.10 is dropped. TransactionTestCase seriali ...
https://man.mtool.work/django/6.1/releases/2.2.html
Django 3.2.8 リリースノート — Django 6.1 ドキュメント 8569
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.2.8 リリースノート ¶ October 5, 2021 Django 3.2.8 fixes two bugs in 3.2.7. バグ修正 ¶ Fixed a bug in Django 3.2 that caused incorrect links ... s in the admin ( #33077 ). Fixed a regression in Django 3.2 that caused incorrect selection of items across all pages when actions were placed both on the top and bottom of the admin change-list view ( #33083 ). 目次 Django 3.2.8 リリースノート バグ修正 ... used incorrect admin リリースノート October fixes bugs バグ 修正 links read fields regression selection items across pages actions were placed bottom change list view クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/3.2.8.html
Django 1.1 リリースノート — Django 6.1 ドキュメント 7861
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.1 リリースノート ¶ July 29, 2009 Django 1.1 へようこそ! Django 1.1 includes a number of nifty new features , lots of bug fixes, and an easy ... ble admin option. These fields will show up as form widgets on the list pages, and can be edited and saved in bulk. Admin "actions" ¶ You can now define admin actions that can perform some action to a group of models in bulk. Users will be able to selec ... t objects on the change list page and then apply these bulk actions to all selected objects. Django ships with one pre-defined admin action to delete a group of objects in one fell swoop. 条 ... ements Test performance improvements Test client improvements New admin features Editable fields on the change list Admin "actions" 条件付きのビュー処理 URL の名前空間 GeoDjango Other improvements 次は何をしましょうか? 前のトピックへ Django 1.1.2 リリー ...
https://man.mtool.work/django/6.1/releases/1.1.html
Django 1.1 リリースノート — Django 6.1 ドキュメント 7861
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.1 リリースノート ¶ July 29, 2009 Django 1.1 へようこそ! Django 1.1 includes a number of nifty new features , lots of bug fixes, and an easy ... ble admin option. These fields will show up as form widgets on the list pages, and can be edited and saved in bulk. Admin "actions" ¶ You can now define admin actions that can perform some action to a group of models in bulk. Users will be able to selec ... t objects on the change list page and then apply these bulk actions to all selected objects. Django ships with one pre-defined admin action to delete a group of objects in one fell swoop. 条 ... ements Test performance improvements Test client improvements New admin features Editable fields on the change list Admin "actions" 条件付きのビュー処理 URL の名前空間 GeoDjango Other improvements 次は何をしましょうか? 前のトピックへ Django 1.1.2 リリー ...
https://man.mtool.work/django/6.1/releases/1.1.html
Django の admin サイト — Django 6.1 ドキュメント 7783
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django の admin サイト ¶ Django のパワフルな特徴の1つは、自動的に生成される admin インタフェースです。あなたのモデルクラスからメタデータを読み取り、 ... 義します: from django.contrib import admin class AuthorAdmin ( admin . ModelAdmin ): date_hierarchy = "pub_date" ModelAdmin. actions ¶ チェンジリストページで有効化するアクションのリストです。詳細は 管理アクション を参照してください。 ModelAdmin. actions_o ... n_top ¶ ModelAdmin. actions_on_bottom ¶ Controls where on the admin changelist page the actions bar appears. By default, the admin changelist displays ... actions at the top of the page ( actions_on_top = True; actions_on_bottom = False ). ModelAdmin. actions_selection_counter ¶ アクシ ...
https://man.mtool.work/django/6.1/ref/contrib/admin/
PREV 1 2 3 4 NEXT