per page, with , order by , clip by
Results of 1 - 10 of about 15 for refresh (0.004 sec.)
モデルインスタンスリファレンス 12591
モデルインスタンスリファレンス このドキュメントでは、 Model API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提としていますので、このドキュメントを読む前にこの 2 つを読んでおいた方がよいでしょう。 このリファレン ... ます: >>> obj = MyModel . objects . first () >>> del obj . field >>> obj . field # Loads the field from the database Model. refresh_from_db ( using = None , fields = None , from_queryset = None ) [ソース] Model. arefresh_from_db ( using = None , fields = ... None , from_queryset = None ) 非同期バージョン : arefresh_from_db() データベースからモデルの値を再読み込みする必要がある場合は、 refresh_from_db() メソッドを利用できます。引数なしで ... t 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 deferred field is loaded on-demand for a single model instance, the ...
https://man.mtool.work/django/6.1/ref/models/instances.html
Tasks 11355
Tasks New in Django 6.0. The Task framework provides the contract and plumbing for background work, not the engine that runs it. The Tasks API defines how work is described, queued, and tracked, but leaves actual execution to external infra ... om the Task function. If the Task did not finish successfully, ValueError is raised. See return values for usage examples. refresh () [ソース] Refresh the result's attributes from the queue store. arefresh () The async variant of TaskResult.refresh() . ...
https://man.mtool.work/django/6.1/ref/tasks.html
Django's Tasks framework 10728
Django's Tasks framework New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's often more than just turning HTTP requests into HTTP responses. For some functionality, it may be ... Task's execution at the point it was retrieved. If the Task finishes after get_result() is called, it will not update. To refresh the values, call the django.tasks.TaskResult.refresh() method: >>> result . status RUNNING >>> result . refresh () # or aw ... ait result.arefresh() >>> result . status SUCCESSFUL Return values If your Task function returns something, it can be retrieved from the djang ...
https://man.mtool.work/django/6.1/topics/tasks.html
Django 5.1.4 リリースノート 9805
Django 5.1.4 リリースノート 2024年12月4日 Django 5.1.4 では、 5.1.3 におけるセキュリティの問題のうち深刻度 "high" 1件、深刻度 "moderate" 1件を含め、いくつかのバグを修正しました。 CVE-2024-53907: strip_tags() における DoS 攻撃の可能性 strip_ ... not be determined ( #35942 ). Fixed a regression in Django 5.1 where relational fields were not updated when calling Model.refresh_from_db() on instances with deferred fields ( #35950 ). ...
https://man.mtool.work/django/6.1/releases/5.1.4.html
Django 1.8.7 リリースノート 9509
Django 1.8.7 リリースノート November 24, 2015 Django 1.8.7 fixes a security issue and several bugs in 1.8.6. Additionally, Django's vendored version of six, django.utils.six , has been upgraded to the latest release (1.10.0). Fixed settings ... lization of DateRangeField and DateTimeRangeField ( #24937 ). Fixed the exact lookup of ArrayField ( #25666 ). Fixed Model.refresh_from_db() updating of ForeignKey fields with on_delete=models.SET_NULL ( #25715 ). Fixed a duplicate query regression in 1 ...
https://man.mtool.work/django/6.1/releases/1.8.7.html
Django 1.8.8 リリースノート 9509
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 ... ache, no-store, must-revalidate 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 i ...
https://man.mtool.work/django/6.1/releases/1.8.8.html
Django 6.1.3 release notes 8568
Django 6.1.3 release notes November 3, 2026 Django 6.1.3 fixes five security issues with severity "low", one security issue with severity "moderate", and several bugs in 6.1.2. It also adds compatibility with Python 3.15. CVE-2026-108147: P ... rred field with the FETCH_PEERS fetch mode overwrote values that peer instances had already modified locally or loaded via refresh_from_db() with an explicit fields argument. The fix also addresses a KeyError when a peer's row had been deleted ( #37436 ...
https://man.mtool.work/django/6.1/releases/6.1.3.html
GDAL API 7959
GDAL API 概要 GDAL stands for Geospatial Data Abstraction Library , and is a veritable "Swiss army knife" of GIS data functionality. A subset of GDAL is the OGR Simple Features Library, which specializes in reading and writing vector geogra ... 単位のバンドの高さ (Y軸)。 pixel_count このバンドに含まれるピクセルの総数。これは width * height に等しいです。 statistics ( refresh = False , approximate = False ) このバンドのピクセル値の統計量を計算します。戻り値は (minimum, maximum, mean, standard dev ... もし approximate 引数が True に設定されている場合、統計はオーバービューまたは画像タイルのサブセットに基づいて計算されます。 refresh 引数を True に設定すると、統計情報はデータから直接計算され、その結果でキャッシュが更新されます。 永続的なキャッシュ値が見つ ... 同期していなかったり、 approximate 引数の値を反映しない以前の呼び出しの値が返されたりすることがあります。そのような場合は、 refresh 引数を使用して更新された値を取得し、キャッシュに保存します。 空のバンド (すべてのピクセル値が "no data "である) の場合、す ...
https://man.mtool.work/django/6.1/ref/contrib/gis/gdal.html
Django 1.8 リリースノート 7645
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... performed by the database, which can lead to somewhat complex queries involving nested REPLACE function calls. You can now refresh model instances by using Model.refresh_from_db() . You can now get the set of deferred fields for a model using Model.get_ ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 5.1 リリースノート 7349
Django 5.1 リリースノート 2024年8月7日 Django 5.1 へようこそ! このリリースノートでは、 バージョン 5.1 の新機能 と、Django 5.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... mailField 、 SlugField 、 URLField 、 TextField 、あるいは ArrayField を出力する場合、 スライス が可能になりました。 Model.refresh_from_db() と Model.arefresh_from_db() に新しく追加された from_queryset 引数を使用すれば、モデルの値を再読み込みするためのク ...
https://man.mtool.work/django/6.1/releases/5.1.html
PREV 1 2 NEXT