per page, with , order by , clip by
Results of 1 - 10 of about 31 for action (0.011 sec.)
管理アクション 16727
管理アクション Djangoの管理者の基本的な仕事は、一言で言えば、「オブジェクトを選択し、それを変更する」ことに尽きます。これは大多数のユースケースに当てはまります。しかし、一度に多くのオブジェクトに同じ変更を適用する必要がある場合、この仕事は退 ... ょう。デフォルトでは、このアクションは "Make published "としてアクションリストに表示されます。しかし、 make_published 関数に action() デコレータを使用することで、より良い、人にやさしい名前をつけることができます: from django.contrib import admin ... @admi ... n . action ( description = "Mark selected stories as published" ) def make_published ( modeladmin , request , queryset ): queryset . ... ンとその登録を含む admin.py は次のようになります: from django.contrib import admin from myapp.models import Article @admin . action ( description = "Mark selected stories as published" ) def make_published ( modeladmin , request , queryset ): queryset . ...
https://man.mtool.work/django/6.1/ref/contrib/admin/actions.html
Django 6.1 release notes 9302
Django 6.1 release notes August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 6.0 or earlier. We've begun the ... layout. list_display now uses boolean icons for boolean fields on related models. The new location keyword argument of the action() decorator specifies which admin views the action is available on. The action is available on the admin change list page ... by default. It can also be available on the admin change form. See Controlling where actions are available for details. The new description_plural keyword argument of the action() decorator specifies a human-readab ... le description for actions on the admin change list page. Defaults to the description value. This is useful when the action is available on both the ...
https://man.mtool.work/django/6.1/releases/6.1.html
Django 5.1 リリースノート 8363
Django 5.1 リリースノート 2024年8月7日 Django 5.1 へようこそ! このリリースノートでは、 バージョン 5.1 の新機能 と、Django 5.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... ョンが SQLite の OPTIONS でサポートされるようになり、接続時に設定する PRAGMA オプション を指定できるようになりました。 "transaction_mode" オプションが SQLite の OPTIONS でサポートされるようになり、 トランザクションの動作 を指定できるようになりました。 "p ... HTTPメソッドに対してクエリ文字列を簡単に設定できるようになりました。 self . client . post ( "/items/1" , query_params = { "action" : "delete" }) await self . async_client . post ( "/items/1" , query_params = { "action" : "delete" }) 新しい SimpleTestCa ... giref の最小サポートバージョンが 3.7.0 から 3.8.1 に引き上げられました。 To improve performance, the delete_selected admin action now uses QuerySet.bulk_create() when creating multiple LogEntry objects. As a result, pre_save and post_save signals for L ...
https://man.mtool.work/django/6.1/releases/5.1.html
索引 8299
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... atedManager のメソッド) acreate_superuser() (models.UserManager のメソッド) acreate_user() (models.UserManager のメソッド) Action (django.contrib.admin のクラス) action() (django.contrib.admin モジュール) action_flag (LogEntry の属性) action_time (LogE ... ntry の属性) ActionLocation (django.contrib.admin のクラス) actions (ModelAdmin の属性) actions_on_bottom (ModelAdmin の属性) actions_on_top ( ... ModelAdmin の属性) actions_selection_counter (ModelAdmin の属性) activate() (django.utils.timezone モジュール) (django.utils.translation モジュール) ...
https://man.mtool.work/django/6.1/genindex.html
Django の機能廃止のタイムライン 8056
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... elAdmin will raise ValueError if its get_list_select_related() method returns True . Support for overriding ModelAdmin.get_actions() without the new action_location parameter will be removed. Support for unpacking or indexing the dictionary values of t ... he ModelAdmin.get_actions() return value will be removed. Use Action attributes instead. Support for overriding ModelAdmin.get_action_choices() wit ... hout the new action_location parameter will be removed. The django.db.transaction.savepoint() alias to django.db.transaction.savepoint_create( ...
https://man.mtool.work/django/6.1/internals/deprecation.html
Django 3.1.1 リリースノート 7926
Django 3.1.1 リリースノート September 1, 2020 Django 3.1.1 fixes two security issues and several bugs in 3.1. CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+ On Python 3.7+, FILE_UPLOAD_DIRECTORY_PERMI ... had the system's standard umask rather than 0o077 (no group or others permissions). バグ修正 Fixed wrapping of translated action labels in the admin's navigation sidebar for East Asian languages ( #31853 ). Fixed wrapping of long model names in the ad ...
https://man.mtool.work/django/6.1/releases/3.1.1.html
シグナル 7862
シグナル Djangoが送信する全てのシグナルのリストです。全ての組み込みシグナルは send() メソッドを使用して送信されます。 参考 シグナルの登録方法と受信方法に関する情報については、 シグナルディスパッチャ のドキュメントを参照してください。 認証フ ... インスタンス。これは sender のインスタンス、または ManyToManyField が関連づけられているクラスのインスタンスのいずれかです。 action リレーションに対して行われた更新の種類を表す文字列です。次のいずれかの値を取ります。 "pre_add" リレーションにオブジェクトが ... 数は、次の通りです: 引数 値 sender Pizza.toppings.through (中間の m2m クラス) instance p (変更されている Pizza インスタンス) action "pre_add" (その後に別のシグナルで "post_add" が続く) reverse False ( Pizza には ManyToManyField が含まれているため、この呼 ... は以下の通りです: 引数 値 sender Pizza.toppings.through (中間の m2m クラス) instance t (変更されている Topping インスタンス) action "pre_remove" (その後に別のシグナルとして "post_remove" が続きます) reverse True ( Pizza は ManyToManyField を含んでいるため ...
https://man.mtool.work/django/6.1/ref/signals.html
Django 1.1 リリースノート 7862
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 upgrade path from Django 1.0. Backwards-incompatible changes in 1.1 Django has a policy of AP ... constraints, you will need to manually drop the old constraint prior to invoking reset . Test cases are now run in a transaction Django 1.1 runs tests inside a transaction, allowing better test performance (see test performance improvements for detail ... s). This change is slightly backwards incompatible if existing tests need to test transactional behavior, if they rely on invalid assumptions about the test environment, or if they require a specific test case orderi ... ng. For these cases, TransactionTestCase can be used instead. This is a just a quick fix to get around test case errors revealed by the new rollback approa ...
https://man.mtool.work/django/6.1/releases/1.1.html
Django 1.4.11 リリースノート 7862
Django 1.4.11 リリースノート April 21, 2014 Django 1.4.11 fixes three security issues in 1.4.10. Additionally, Django's vendored version of six, django.utils.six , has been upgraded to the latest release (1.6.1). Unexpected code execution u ... on user input (commonly, a "next" parameter in a querystring indicating where to redirect upon successful completion of an action). One or more modules are known to an attacker to exist on the server's Python import path, which perform code execution w ...
https://man.mtool.work/django/6.1/releases/1.4.11.html
Django 1.5.6 リリースノート 7862
Django 1.5.6 リリースノート April 21, 2014 Django 1.5.6 fixes several bugs in 1.5.5, including three security issues. Unexpected code execution using reverse() Django's URL handling is based on a mapping of regex patterns (representing the ... on user input (commonly, a "next" parameter in a querystring indicating where to redirect upon successful completion of an action). One or more modules are known to an attacker to exist on the server's Python import path, which perform code execution w ...
https://man.mtool.work/django/6.1/releases/1.5.6.html
PREV 1 2 3 4 NEXT