per page, with , order by , clip by
Results of 1 - 10 of about 25 for DecimalField (0.005 sec.)
Porting your apps from Django 0.96 to 1.0 13134
Porting your apps from Django 0.96 to 1.0 Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and apps to 1.0. The first part of this document includes the common changes needed to run with 1 ... ): title = models . CharField ( max_length = 100 ) published = models . DateField ( default = datetime . datetime . now ) DecimalField is new, and FloatField is now a proper float Old (0.96): class MyModel ( models . Model ): field_name = models . FloatFiel ... d ( max_digits = 10 , decimal_places = 3 ) ... New (1.0): class MyModel ( models . Model ): field_name = models . DecimalField ( max_digits = 10 , decimal_places = 3 ) ... If you forget to make this change, you will see errors about FloatField not t ... oatField takes no precision-related arguments. もしMySQL または PostgreSQLを使用しているのなら、特に変更は必要ありません。 DecimalField のデータベースカラム型は、旧来の FloatField と同じです。 If you're using SQLite, you need to force the database to view th ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
モデルフィールドリファレンス 12121
モデルフィールドリファレンス このドキュメントには、Django が提供するフィールドオプション field options とフィールド型 field types を含む、 Field のすべての API リファレンスが記載されています。 注釈 フィールドは django.db.models.fields に定義 ... def get_currencies (): return { i : i for i in settings . CURRENCIES } class Expense ( models . Model ): amount = models . DecimalField ( max_digits = 10 , decimal_places = 2 ) currency = models . CharField ( max_length = 3 , choices = get_currencies ) choic ... 当てはまります。 datetime.date インスタンスと DateTimeField の日付部分を比較するには、 date ルックアップを使用してください。 DecimalField class DecimalField ( max_digits = None , decimal_places = None , ** options ) [ソース] 固定精度の10進数で、Python では Dec ... imal インスタンスで表されます。これは DecimalValidator を使用して入力を検証します。 Has the following arguments: DecimalField. max_digits The maximum number of digits allowed in the number. Note that this number must be greater than or equal to dec ...
https://man.mtool.work/django/6.1/ref/models/fields.html
Django 3.2.6 リリースノート 11108
Django 3.2.6 リリースノート August 2, 2021 Django 3.2.6 では、3.2.5 におけるいくつかのバグを修正しました。 バグ修正 Fixed a regression in Django 3.2 that caused a crash validating "NaN" input with a forms.DecimalField when additional constr ...
https://man.mtool.work/django/6.1/releases/3.2.6.html
Django 2.0.1 リリースノート 9415
Django 2.0.1 リリースノート 2018年1月1日 Django 2.0.1 では、2.0 にあったいくつかのバグを修正しました。 バグ修正 Fixed a regression in Django 1.11 that added newlines between MultiWidget 's subwidgets ( #28890 ). Fixed incorrect class-based ... eck が ModelAdmin.autocomplete_fields に OneToOneField がある場合でも正しく動作するようになりました ( #28898 )。 SQLite で DecimalField の小数点部分の末尾に 0 が付いていた場合に、0 を切り捨ててしまうリグレッションを修正しました ( #28915 )。 testserver コマン ...
https://man.mtool.work/django/6.1/releases/2.0.1.html
Django 3.2.4 リリースノート 9415
Django 3.2.4 リリースノート June 2, 2021 Django 3.2.4 では、セキュリティの問題2件と、 3.2.3 におけるいくつかのバグを修正しました。 CVE-2021-33203: Potential directory traversal via admindocs Staff members could use the admindocs TemplateDet ... nside a Conda environment ( #32783 ). Fixed a regression in Django 3.2 that caused a loss of precision for operations with DecimalField on MySQL ( #32793 ). ...
https://man.mtool.work/django/6.1/releases/3.2.4.html
Django 6.1.1 release notes 9415
Django 6.1.1 release notes September 2, 2026 Django 6.1.1 fixes one crash in Django 5.2 and several bugs in 6.1. バグ修正 Fixed a crash in Django 5.2 when combining distinct(*fields) with order_by() and values() and using two lookup paths r ... on of ForeignKey or OneToOneField fields to perform unnecessary schema changes ( #37260 ). Fixed a bug in Django 6.1 where DecimalField without max_digits and decimal_places caused a crash when retrieving values on SQLite ( #37275 ). Fixed a regression in Dj ...
https://man.mtool.work/django/6.1/releases/6.1.1.html
GeoDjangoの管理コマンド 8734
GeoDjangoの管理コマンド inspectdb django-admin inspectdb django.contrib.gis が INSTALLED_APPS に入っている場合、 inspectdb 管理コマンドは GeoDjango のコマンドでオーバーライドされます。オーバーライドされたコマンドは空間を認識し、自動生成され ... 用します。該当するすべてのフィールドに適用するには true を設定します。 --decimal DECIMAL デフォルトの FloatField の代わりに DecimalField を生成するには OGR float フィールドをカンマ区切りで指定します。すべての OGR float フィールドに適用するには true を設定しま ...
https://man.mtool.work/django/6.1/ref/contrib/gis/commands.html
Django 4.2.2 リリースノート 8734
Django 4.2.2 リリースノート 2023年6月5日 Django 4.2.2 では、4.2.1 におけるいくつかのバグを修正しました。 バグ修正 Django 4.2 におけるリグレッションを修正しました。これにより、Oracle 上の TextField() / BinaryField() に対する __isnull および ... ュを引き起こす問題 ( #34551 ) を修正しました。 Django 4.2 におけるリグレッションを修正しました。定義された範囲外の値に対して DecimalField をフィルタリングする際に SQLite 上のクエリセットがクラッシュする原因となっていました ( #34590 )。 Django 4.2 におけるリグレ ...
https://man.mtool.work/django/6.1/releases/4.2.2.html
Django 6.1 release notes 8385
Django 6.1 release notes August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 6.0 or earlier. We've begun the ... value, or querying for top-level or nested JSON null values. See None の保存とクエリ for usage examples and some caveats. DecimalField.max_digits and DecimalField.decimal_places are no longer required to be set on Oracle, PostgreSQL, and SQLite. JSONField n ...
https://man.mtool.work/django/6.1/releases/6.1.html
索引 8053
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... hecks のクラス) debug() (django.template.context_processors モジュール) DEBUG_PROPAGATE_EXCEPTIONS setting decimal_places (DecimalField の属性) , [1] DECIMAL_SEPARATOR setting DecimalField (django.db.models のクラス) (django.forms のクラス) DecimalRangeField ... afestring モジュール) match (FilePathField の属性) , [1] Max (django.db.models のクラス) max (GDALBand の属性) max_digits (DecimalField の属性) , [1] max_geom_collections (Field の属性) (GeometryField の属性) max_length (BinaryField の属性) (CharField の属性 ... 性) max_post_process_passes (storage.ManifestStaticFilesStorage の属性) max_random_bytes (GZipMiddleware の属性) max_value (DecimalField の属性) (FloatField の属性) (IntegerField の属性) max_x (Envelope の属性) max_y (Envelope の属性) MaxLengthValidator (djan ...
https://man.mtool.work/django/6.1/genindex.html
PREV 1 2 3 NEXT