per page, with , order by , clip by
Results of 1 - 10 of about 39 for selected (0.002 sec.)
管理アクション 16931
管理アクション Djangoの管理者の基本的な仕事は、一言で言えば、「オブジェクトを選択し、それを変更する」ことに尽きます。これは大多数のユースケースに当てはまります。しかし、一度に多くのオブジェクトに同じ変更を適用する必要がある場合、この仕事は退 ... チェンジリストページで選択されたオブジェクトのリストで呼び出される関数です。 Django には、すべてのモデルで利用可能な "delete selected objects" アクションが同梱されています。たとえば、これは Django 組み込みの django.contrib.auth アプリの user モジュールです ... より良い、人にやさしい名前をつけることができます: from django.contrib import admin ... @admin . action ( description = "Mark selected stories as published" ) def make_published ( modeladmin , request , queryset ): queryset . update ( status = "p" ) 注釈 こ ... 次のようになります: 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 . update ( status = "p" ) class A ...
https://man.mtool.work/django/6.1/ref/contrib/admin/actions.html
Django 1.11.12 リリースノート 8880
Django 1.11.12 リリースノート 2018年4月2日 Django 1.11.12 では、1.11.11 にあった2つのバグを修正しました。 バグ修正 Fixed a regression in Django 1.11.8 where combining two annotated values_list() querysets with union() , difference() , or in ... crashed due to mismatching columns ( #29229 ). Fixed a regression in Django 1.11 where an empty choice could be initially selected for the SelectMultiple and CheckboxSelectMultiple widgets ( #29273 ). ...
https://man.mtool.work/django/6.1/releases/1.11.12.html
Django 3.0 リリースノート 8614
Django 3.0 リリースノート 2019年12月2日 Django 3.0 へようこそ! このリリースノートでは、 バージョン 3.0 の新機能 と、Django 2.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... FileField.upload_to now supports pathlib.Path . CheckConstraint is now supported on MySQL 8.0.16+. The new allows_group_by_selected_pks_on_model() method of django.db.backends.base.BaseDatabaseFeatures allows optimization of GROUP BY clauses to require o ... nly the selected models' primary keys. By default, it's supported only for managed models on PostgreSQL. To enable the GROUP BY primary key ... n for unmanaged models, you have to subclass the PostgreSQL database engine, overriding the features class allows_group_by_selected_pks_on_model() method as you require. See Subclassing the built-in database backends for an example. Request と Response A ...
https://man.mtool.work/django/6.1/releases/3.0.html
Django 2.0.4 リリースノート 8489
Django 2.0.4 リリースノート 2018年4月2日 Django 2.0.4 では、2.0.3 にあったいくつかのバグを修正しました。 バグ修正 Fixed a crash when filtering with an Exists() annotation of a queryset containing a single field ( #29195 ). Fixed admin autoc ... crashed due to mismatching columns ( #29229 ). Fixed a regression in Django 1.11 where an empty choice could be initially selected for the SelectMultiple and CheckboxSelectMultiple widgets ( #29273 ). Fixed a regression in Django 2.0 where OpenLayersWid ...
https://man.mtool.work/django/6.1/releases/2.0.4.html
Django 1.8.9 リリースノート 8363
Django 1.8.9 リリースノート February 1, 2016 Django 1.8.9 fixes several bugs in 1.8.8. バグ修正 Fixed a regression that caused the "user-tools" items to display on the admin's logout page ( #26035 ). Fixed a crash in the translations system ... when the current language has no translations ( #26046 ). Fixed a regression that caused the incorrect day to be selected when opening the admin calendar widget for timezones from GMT+0100 to GMT+1200 ( #24980 ). Fixed a regression in 1.8.8 cau ...
https://man.mtool.work/django/6.1/releases/1.8.9.html
Django 5.2.8 リリースノート 8363
Django 5.2.8 リリースノート 2025年11月5日 Django 5.2.8 fixes one security issue with severity "high", one security issue with severity "moderate", and several bugs in 5.2.7. It also adds compatibility with Python 3.14. CVE-2025-64458: Poten ... ed a bug in Django 5.2 where QuerySet.first() and QuerySet.last() raised an error on querysets performing aggregation that selected all fields of a composite primary key ( #36648 ). Fixed a bug in Django 5.2 where proxy models having a CompositePrimaryKe ...
https://man.mtool.work/django/6.1/releases/5.2.8.html
はじめての Django アプリ作成、その 4 8222
はじめての Django アプリ作成、その 4 このチュートリアルは チュートリアルその 3 の続きです。ここでは、引き続きWeb投票アプリケーションの開発を例にして、簡単なフォー ム処理とコードの縮小化を中心に解説します。 困ったときは: このチュートリアルの ... ce , Question # ... def vote ( request , question_id ): question = get_object_or_404 ( Question , pk = question_id ) try : selected_choice = question . choice_set . get ( pk = request . POST [ "choice" ]) except ( KeyError , Choice . DoesNotExist ): # Re ... ( request , "polls/detail.html" , { "question" : question , "error_message" : "You didn't select a choice." , }, ) else : selected_choice . votes = F ( "votes" ) + 1 selected_choice . save () # Always return an HttpResponseRedirect after successfully de ...
https://man.mtool.work/django/6.1/intro/tutorial04.html
Django 3.2.19 リリースノート 8222
Django 3.2.19 リリースノート 2023年5月3日 Django 3.2.19 は、3.2.18 の深刻度 "low" のセキュリティ問題を修正しました。 CVE-2023-31047: 1つのフォームフィールドを使用して複数のファイルをアップロードする際の検証のバイパスが可能な脆弱性 forms.Fil ... 属性が設定されている場合に ValueError を発生させるようになりました。例外を防ぎ、以前の動作を維持するには、 allow_multiple_selected を True に設定してください。 新しい属性の使用方法や、1つのフィールドを介して複数のファイルを処理する詳細については、 複数の ...
https://man.mtool.work/django/6.1/releases/3.2.19.html
Django 4.1.9 リリースノート 8222
Django 4.1.9 リリースノート 2023年5月3日 Django 4.1.9 は、4.1.8 の深刻度 "low" のセキュリティ問題を修正しました。 CVE-2023-31047: 1つのフォームフィールドを使用して複数のファイルをアップロードする際の検証のバイパスが可能な脆弱性 forms.FileFi ... 属性が設定されている場合に ValueError を発生させるようになりました。例外を防ぎ、以前の動作を維持するには、 allow_multiple_selected を True に設定してください。 新しい属性の使用方法や、1つのフィールドを介して複数のファイルを処理する詳細については、 複数の ...
https://man.mtool.work/django/6.1/releases/4.1.9.html
Django 1.8.8 リリースノート 8097
Django 1.8.8 リリースノート January 2, 2016 Django 1.8.8 fixes several bugs in 1.8.7. Python 3.2 users, please be advised that we've decided to drop support for Python 3.2 in Django 1.8.x at the end of 2016. We won't break things intentiona ... to Cache-Control ) to better prevent caching ( #13008 ). This fixes a problem where a page refresh in Firefox cleared the selected entries in the admin's filter_horizontal and filter_vertical widgets, which could result in inadvertent data loss if a use ...
https://man.mtool.work/django/6.1/releases/1.8.8.html
PREV 1 2 3 4 NEXT