per page, with , order by , clip by
Results of 1 - 10 of about 1348 for update (0.009 sec.)
モデルインスタンスリファレンス — Django 6.1 ドキュメント 9063
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルインスタンスリファレンス ¶ このドキュメントでは、 Model API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提として ... を強制的に設定する際に使用できます。 読み込むフィールドのセットを強制的に設定するには fields 引数を使用できます。 たとえば、 update() の呼び出しによって期待する更新が行われたかをテストするため、以下のようなテストを書くことができます。 def test_update_res ... ult ( self ): obj = MyModel . objects . create ( val = 1 ) MyModel . objects . filter ( pk = obj . pk ) . update ( val = F ( "val" ) + 1 ) # At this point obj.val is still 1, but the value in the database # was updated to 2. The object ... 's updated value needs to be reloaded # from the database. obj . refresh_from_db () self . assertEqual ( obj . val , 2 ) When a defe ...
https://man.mtool.work/django/6.1/ref/models/instances.html
モデルインスタンスリファレンス — Django 6.1 ドキュメント 9063
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルインスタンスリファレンス ¶ このドキュメントでは、 Model API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提として ... を強制的に設定する際に使用できます。 読み込むフィールドのセットを強制的に設定するには fields 引数を使用できます。 たとえば、 update() の呼び出しによって期待する更新が行われたかをテストするため、以下のようなテストを書くことができます。 def test_update_res ... ult ( self ): obj = MyModel . objects . create ( val = 1 ) MyModel . objects . filter ( pk = obj . pk ) . update ( val = F ( "val" ) + 1 ) # At this point obj.val is still 1, but the value in the database # was updated to 2. The object ... 's updated value needs to be reloaded # from the database. obj . refresh_from_db () self . assertEqual ( obj . val , 2 ) When a defe ...
https://man.mtool.work/django/6.1/ref/models/instances.html
QuerySet API リファレンス — Django 6.1 ドキュメント 8579
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » QuerySet API リファレンス ¶ このドキュメントでは、 QuerySet API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提としてい ... . filter ( entries__gt = 5 ) alias() can be used in conjunction with annotate() , exclude() , filter() , order_by() , and update() . To use an aliased expression with other methods (e.g. aggregate() ), you must promote it to an annotation: Blog . obje ... ntry . objects . all () # queries the database with the 'backup' alias >>> Entry . objects . using ( "backup" ) select_for_update() ¶ select_for_update ( nowait = False , skip_locked = False , of = () , no_key = False ) ¶ トランザクションが終了するまで ... 行をロックし、サポートされているデータベース上で SELECT ... FOR UPDATE SQL 文を生成する QuerySet を返します。 例: from django.db import transaction entries = Entry . objects . select_for_update ...
https://man.mtool.work/django/6.1/ref/models/querysets.html
QuerySet API リファレンス — Django 6.1 ドキュメント 8579
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » QuerySet API リファレンス ¶ このドキュメントでは、 QuerySet API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提としてい ... . filter ( entries__gt = 5 ) alias() can be used in conjunction with annotate() , exclude() , filter() , order_by() , and update() . To use an aliased expression with other methods (e.g. aggregate() ), you must promote it to an annotation: Blog . obje ... ntry . objects . all () # queries the database with the 'backup' alias >>> Entry . objects . using ( "backup" ) select_for_update() ¶ select_for_update ( nowait = False , skip_locked = False , of = () , no_key = False ) ¶ トランザクションが終了するまで ... 行をロックし、サポートされているデータベース上で SELECT ... FOR UPDATE SQL 文を生成する QuerySet を返します。 例: from django.db import transaction entries = Entry . objects . select_for_update ...
https://man.mtool.work/django/6.1/ref/models/querysets.html
How to release Django — Django 6.1 ドキュメント 8508
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up How to release Django ¶ このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでの ... 4.0.x, and, depending on timing, perhaps a 4.1.x. Regular version releases: either a final release (e.g. 4.1) or a bugfix update (e.g. 4.1.1). Pre-releases: e.g. 4.2 alpha, beta, or rc. The short version of the steps involved is: If this is a security ... lease. Proofread the release notes, looking for organization and writing errors. Draft a blog post and email announcement. Update version numbers and create the release artifacts. Create the new Release in the admin on djangoproject.com . Set the prope ... active flag for each release in the admin on djangoproject.com . Post the blog entry and send out the email announcements. Update version numbers post-release in stable branch(es). Add stub release notes for the next patch release in main and backport. ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
How to release Django — Django 6.1 ドキュメント 8508
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up How to release Django ¶ このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでの ... 4.0.x, and, depending on timing, perhaps a 4.1.x. Regular version releases: either a final release (e.g. 4.1) or a bugfix update (e.g. 4.1.1). Pre-releases: e.g. 4.2 alpha, beta, or rc. The short version of the steps involved is: If this is a security ... lease. Proofread the release notes, looking for organization and writing errors. Draft a blog post and email announcement. Update version numbers and create the release artifacts. Create the new Release in the admin on djangoproject.com . Set the prope ... active flag for each release in the admin on djangoproject.com . Post the blog entry and send out the email announcements. Update version numbers post-release in stable branch(es). Add stub release notes for the next patch release in main and backport. ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
Django 1.6.3 リリースノート — Django 6.1 ドキュメント 5193
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.6.3 リリースノート ¶ April 21, 2014 Django 1.6.3 fixes several bugs in 1.6.2, including three security issues, and makes one backwards-inco ... did not correctly convert their arguments: FilePathField GenericIPAddressField IPAddressField These three fields have been updated to convert their arguments to the correct types before querying. Additionally, developers of custom model fields are now ... ments -- will be advised to ensure they perform appropriate manual type conversions prior to executing queries. select_for_update() requires a transaction ¶ Historically, queries that use select_for_update() could be executed in autocommit mode, outsid ... n. Django 1.6 introduced database-level autocommit; since then, execution in such a context voids the effect of select_for_update() . It is, therefore, assumed now to be an error and raises an exception. This change was made because such errors can be ...
https://man.mtool.work/django/6.1/releases/1.6.3.html
管理アクション — Django 6.1 ドキュメント 5122
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 管理アクション ¶ Djangoの管理者の基本的な仕事は、一言で言えば、「オブジェクトを選択し、それを変更する」ことに尽きます。これは大多数のユースケースに当 ... オブジェクトを必要としませんが、クエリセットを使用します: def make_published ( modeladmin , request , queryset ): queryset . update ( status = "p" ) 注釈 最高のパフォーマンスを得るために、クエリセットの update メソッド を使用しています。他のタイプのアクシ ... ( description = "Mark selected stories as published" ) def make_published ( modeladmin , request , queryset ): queryset . update ( status = "p" ) 注釈 これには見覚えがあるかもしれません。admin の list_display オプションも、登録されたコールバック関数に ... ( description = "Mark selected stories as published" ) def make_published ( modeladmin , request , queryset ): queryset . update ( status = "p" ) class ArticleAdmin ( admin . ModelAdmin ): list_display = [ "title" , "status" ] ordering = [ "title" ] a ...
https://man.mtool.work/django/6.1/ref/contrib/admin/actions.html
管理アクション — Django 6.1 ドキュメント 4847
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 管理アクション ¶ Djangoの管理者の基本的な仕事は、一言で言えば、「オブジェクトを選択し、それを変更する」ことに尽きます。これは大多数のユースケースに当 ... オブジェクトを必要としませんが、クエリセットを使用します: def make_published ( modeladmin , request , queryset ): queryset . update ( status = "p" ) 注釈 最高のパフォーマンスを得るために、クエリセットの update メソッド を使用しています。他のタイプのアクシ ... ( description = "Mark selected stories as published" ) def make_published ( modeladmin , request , queryset ): queryset . update ( status = "p" ) 注釈 これには見覚えがあるかもしれません。admin の list_display オプションも、登録されたコールバック関数に ... ( description = "Mark selected stories as published" ) def make_published ( modeladmin , request , queryset ): queryset . update ( status = "p" ) class ArticleAdmin ( admin . ModelAdmin ): list_display = [ "title" , "status" ] ordering = [ "title" ] a ...
https://man.mtool.work/django/6.1/ref/contrib/admin/actions.html
Django 1.11.16 リリースノート — Django 6.1 ドキュメント 4847
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.16 リリースノート ¶ October 1, 2018 Django 1.11.16 では、1.11.15 にあった1つのデータ損失のバグを修正しました。 バグ修正 ¶ データ損失に繋 ... がる可能性がある QuerySet.update_or_create() の競合状態を修正しました ( #29499 )。 目次 Django 1.11.16 リリースノート バグ修正 前のトピックへ Django 1.11.1 ... ースノート 次のトピックへ Django 1.11.15 リリースノート 関連キーワード 修正 損失 バグ リリースノート October 可能性 QuerySet update create 競合 クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/1.11.16.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT