per page, with , order by , clip by
Results of 1 - 10 of about 78 for selected (0.003 sec.)
管理アクション — Django 6.1 ドキュメント 14986
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 管理アクション ¶ 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 6.1 ドキュメント 14876
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 管理アクション ¶ 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 リリースノート — Django 6.1 ドキュメント 8857
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.12 リリースノート ¶ 2018年4月2日 Django 1.11.12 では、1.11.11 にあった2つのバグを修正しました。 バグ修正 ¶ Fixed a regression in Django ... 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 ). 目次 Django 1.11.12 リリースノート バグ修正 前のトピ ... combining annotated values list querysets union difference intersection crashed mismatching columns empty choice initially selected SelectMultiple CheckboxSelectMultiple widgets クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/1.11.12.html
Django 3.0 リリースノート — Django 6.1 ドキュメント 7493
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ¶ ...
https://man.mtool.work/django/6.1/releases/3.0.html
Django 3.0 リリースノート — Django 6.1 ドキュメント 7493
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ¶ ...
https://man.mtool.work/django/6.1/releases/3.0.html
Django 1.11.12 リリースノート — Django 6.1 ドキュメント 7273
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.12 リリースノート ¶ 2018年4月2日 Django 1.11.12 では、1.11.11 にあった2つのバグを修正しました。 バグ修正 ¶ Fixed a regression in Django ... 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 ). 目次 Django 1.11.12 リリースノート バグ修正 前のトピ ...
https://man.mtool.work/django/6.1/releases/1.11.12.html
はじめての Django アプリ作成、その 4 — Django 6.1 ドキュメント 7273
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての 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 1.8.9 リリースノート — Django 6.1 ドキュメント 7273
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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" ... ns 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 2.0.4 リリースノート — Django 6.1 ドキュメント 7273
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.0.4 リリースノート ¶ 2018年4月2日 Django 2.0.4 では、2.0.3 にあったいくつかのバグを修正しました。 バグ修正 ¶ Fixed a crash when filtering w ... 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 アプリ作成、その 4 — Django 6.1 ドキュメント 7162
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての 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
PREV 1 2 3 4 5 6 7 8 NEXT