per page, with , order by , clip by
Results of 1 - 10 of about 13 for round (0.011 sec.)
データベース関数 11964
データベース関数 The classes documented below provide a way for users to use functions provided by the underlying database as annotations, aggregations, or filters in Django. Functions are also expressions , so they can be used and combined ... ns__lt = 1 , y__radians__lt = 1 ) Random class Random ( ** extra ) [ソース] 0.0 ≤ x < 1.0 の範囲のランダムな値を返します。 Round class Round ( expression , precision = 0 , ** extra ) [ソース] 数値フィールドまたは式を precision (整数でなければなりません ... す。半分の値を切り上げるか切り下げるかはデータベースによって異なります。 使用例: >>> from django.db.models.functions import Round >>> Vector . objects . create ( x = 5.4 , y =- 2.37 ) >>> vector = Vector . objects . annotate ( x_r = Round ( "x" ), y_r ... = Round ( "y" , precision = 1 )) . get () >>> vector . x_r , vector . y_r (5.0, -2.4) トランスフォームとして登録することもできます ...
https://man.mtool.work/django/6.1/ref/models/database-functions.html
Django 1.8.13 リリースノート 11964
Django 1.8.13 リリースノート May 2, 2016 Django 1.8.13 fixes several bugs in 1.8.12. バグ修正 Fixed TimeField microseconds round-tripping on MySQL and SQLite ( #26498 ). Restored conversion of an empty string to null when saving values of G ...
https://man.mtool.work/django/6.1/releases/1.8.13.html
Django 1.9.6 リリースノート 10645
Django 1.9.6 リリースノート May 2, 2016 Django 1.9.6 では、1.9.5 にあったいくつかのバグを修正しました。 バグ修正 Added support for relative path redirects to the test client and to SimpleTestCase.assertRedirects() because Django 1.9 no long ... er converts redirects to absolute URIs ( #26428 ). Fixed TimeField microseconds round-tripping on MySQL and SQLite ( #26498 ). Prevented makemigrations from generating infinite migrations for a model field th ...
https://man.mtool.work/django/6.1/releases/1.9.6.html
Tasks 9642
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 ... lidTask is raised. See defining tasks for usage examples. Task class Task [ソース] Represents a Task to be run in the background. Tasks should be defined using the task() decorator. Attributes of Task cannot be modified. See modifying Tasks for detail ... ) [ソース] Enqueues the Task to the Task backend for later execution. Arguments are passed to the Task 's function after a round-trip through a json.dumps() / json.loads() cycle. Hence, all arguments must be JSON-serializable and preserve their type a ... fter the round-trip. If the Task is not valid according to the backend, InvalidTask is raised. See enqueueing Tasks for usage examples. a ...
https://man.mtool.work/django/6.1/ref/tasks.html
Django 1.3.6 リリースノート 8973
Django 1.3.6 リリースノート February 19, 2013 Django 1.3.6 fixes four security issues present in previous Django releases in the 1.3 series. This is the sixth bugfix/security release in the Django 1.3 series. Host header poisoning Some part ... team . Django's XML serializer does not create documents with a DTD, so this should not cause any issues with the typical round-trip from dumpdata to loaddata , but if you feed your own XML documents to the loaddata management command, you will need ...
https://man.mtool.work/django/6.1/releases/1.3.6.html
Django 1.4.4 リリースノート 8973
Django 1.4.4 リリースノート February 19, 2013 Django 1.4.4 fixes four security issues present in previous Django releases in the 1.4 series, as well as several other bugs and numerous documentation improvements. This is the fourth bugfix/se ... team . Django's XML serializer does not create documents with a DTD, so this should not cause any issues with the typical round-trip from dumpdata to loaddata , but if you feed your own XML documents to the loaddata management command, you will need ...
https://man.mtool.work/django/6.1/releases/1.4.4.html
Django's Tasks framework 8973
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 ... beneficial to run code outside the request-response cycle. That's where background Tasks come in. Background Tasks can offload work to be run outside the request-response cycle, to be run elsewhere, potent ... or service. Given that, a task backend capable of executing tasks on that service should be evaluated and configured. Background Task fundamentals When work needs to be done in the background, Django creates a Task , which is stored in the Queue Store ... ther is not specified in your settings file. The ImmediateBackend runs enqueued Tasks immediately, rather than in the background. This allows background Task functionality to be slowly added to an application, before the required infrastructure is ava ...
https://man.mtool.work/django/6.1/topics/tasks.html
GEOS API 7636
GEOS API 背景 GEOS とは? GEOS stands for Geometry Engine - Open Source , and is a C++ library, ported from the Java Topology Suite . GEOS implements the OpenGIS Simple Features for SQL spatial predicate functions and spatial operators. GEOS ... join_style = 1 , mitre_limit = 5.0 ) buffer() と同じですが、バッファのスタイルをカスタマイズできます。 end_cap_style には、round ( 1 ) 、flat ( 2 ) 、square ( 3 ) を指定できます。 join_style には round ( 1 ) 、mitre ( 2 ) 、bevel ( 3 ) のいずれかを指定 ...
https://man.mtool.work/django/6.1/ref/contrib/gis/geos.html
モデル index リファレンス 7302
モデル index リファレンス Index クラスを利用すると、データベースのインデックスの作成が簡単になります。インデックスは、 Meta.indexes オプションを使用して追加できます。このドキュメントでは、 index options を含む Index の API リファレンスを説明 ... pub_date フィールドのデフォルトの昇順で、インデックスを作成します。 もう1つの例: Index ( F ( "height" ) * F ( "weight" ), Round ( "weight" ), name = "calc_idx" ) この例は、 height および weight フィールドの積の結果と、 weight を直近の整数に丸めた値で ...
https://man.mtool.work/django/6.1/ref/models/indexes.html
Django 2.2 リリースノート 7302
Django 2.2 リリースノート April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... , QuerySet.update() , and Model.delete() . This improves the performance of autocommit by reducing the number of database round trips. Added SQLite support for the StdDev and Variance functions. The handling of DISTINCT aggregation is added to the Ag ...
https://man.mtool.work/django/6.1/releases/2.2.html
PREV 1 2 NEXT