per page, with , order by , clip by
Results of 1 - 10 of about 94 for IntegerField (0.006 sec.)
PostgreSQL 固有のフォームフィールドとウィジェット — Django 6.1 ドキュメント 12512
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PostgreSQL 固有のフォームフィールドとウィジェット ¶ これらのフィールドやウィジェットはすべて django.contrib.postgres.forms モジュールから利用できます ... postgres.forms import SimpleArrayField >>> class NumberListForm ( forms . Form ): ... numbers = SimpleArrayField ( forms . IntegerField ()) ... >>> form = NumberListForm ({ "numbers" : "1,2,3" }) >>> form . is_valid () True >>> form . cleaned_data {'numbers' ... gres.forms import SimpleArrayField >>> class GridForm ( forms . Form ): ... places = SimpleArrayField ( SimpleArrayField ( IntegerField ()), delimiter = "|" ) ... >>> form = GridForm ({ "places" : "1,2|2,1|4,3" }) >>> form . is_valid () True >>> form . clean ... で、かつ remove_trailing_nulls が True の場合、末尾にのみ null 値が許され、その値は取り除かれます。 例: SplitArrayField ( IntegerField ( required = True ), size = 3 , remove_trailing_nulls = False ) [ "1" , "2" , "3" ] # -> [1, 2, 3] [ "1" , "2" , "" ] # -> ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/forms.html
PostgreSQL 固有のフォームフィールドとウィジェット — Django 6.1 ドキュメント 12327
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PostgreSQL 固有のフォームフィールドとウィジェット ¶ これらのフィールドやウィジェットはすべて django.contrib.postgres.forms モジュールから利用できます ... postgres.forms import SimpleArrayField >>> class NumberListForm ( forms . Form ): ... numbers = SimpleArrayField ( forms . IntegerField ()) ... >>> form = NumberListForm ({ "numbers" : "1,2,3" }) >>> form . is_valid () True >>> form . cleaned_data {'numbers' ... gres.forms import SimpleArrayField >>> class GridForm ( forms . Form ): ... places = SimpleArrayField ( SimpleArrayField ( IntegerField ()), delimiter = "|" ) ... >>> form = GridForm ({ "places" : "1,2|2,1|4,3" }) >>> form . is_valid () True >>> form . clean ... で、かつ remove_trailing_nulls が True の場合、末尾にのみ null 値が許され、その値は取り除かれます。 例: SplitArrayField ( IntegerField ( required = True ), size = 3 , remove_trailing_nulls = False ) [ "1" , "2" , "3" ] # -> [1, 2, 3] [ "1" , "2" , "" ] # -> ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/forms.html
GeoDjango チュートリアル — Django 6.1 ドキュメント 10743
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » GeoDjango チュートリアル ¶ はじめに ¶ GeoDjangoは、Django用の標準のcontribモジュールであり、それを世界クラスの地理情報Webフレームワークに変えます。G ... sponding to the attributes in the # world borders shapefile. name = models . CharField ( max_length = 50 ) area = models . IntegerField () pop2005 = models . IntegerField ( "Population 2005" ) fips = models . CharField ( "FIPS Code" , max_length = 2 , null = ... . CharField ( "2 Digit ISO" , max_length = 2 ) iso3 = models . CharField ( "3 Digit ISO" , max_length = 3 ) un = models . IntegerField ( "United Nations Code" ) region = models . IntegerField ( "Region Code" ) subregion = models . IntegerField ( "Sub-Region ... ( max_length = 2 ) iso2 = models . CharField ( max_length = 2 ) iso3 = models . CharField ( max_length = 3 ) un = models . IntegerField () name = models . CharField ( max_length = 50 ) area = models . IntegerField () pop2005 = models . IntegerField () region ...
https://man.mtool.work/django/6.1/ref/contrib/gis/tutorial.html
GeoDjango チュートリアル — Django 6.1 ドキュメント 10202
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » GeoDjango チュートリアル ¶ はじめに ¶ GeoDjangoは、Django用の標準のcontribモジュールであり、それを世界クラスの地理情報Webフレームワークに変えます。G ... sponding to the attributes in the # world borders shapefile. name = models . CharField ( max_length = 50 ) area = models . IntegerField () pop2005 = models . IntegerField ( "Population 2005" ) fips = models . CharField ( "FIPS Code" , max_length = 2 , null = ... . CharField ( "2 Digit ISO" , max_length = 2 ) iso3 = models . CharField ( "3 Digit ISO" , max_length = 3 ) un = models . IntegerField ( "United Nations Code" ) region = models . IntegerField ( "Region Code" ) subregion = models . IntegerField ( "Sub-Region ... ( max_length = 2 ) iso2 = models . CharField ( max_length = 2 ) iso3 = models . CharField ( max_length = 3 ) un = models . IntegerField () name = models . CharField ( max_length = 50 ) area = models . IntegerField () pop2005 = models . IntegerField () region ...
https://man.mtool.work/django/6.1/ref/contrib/gis/tutorial.html
モデル _meta API — Django 6.1 ドキュメント 10202
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル _meta API ¶ class Options [ソース] ¶ モデルの _meta API は、Django ORM のコアにあります。これにより、ルックアップ、クエリ、フォーム、admin な ... models class TenantUser ( models . Model ): pk = models . CompositePrimaryKey ( "tenant_id" , "id" ) tenant_id = models . IntegerField () id = models . IntegerField () >>> TenantUser . _meta . pk_fields [ <django.db.models.fields.IntegerField: tenant_id>, < ... django.db.models.fields.IntegerField: id> ] Otherwise it will contain the single field declared as the primary key of the model, either explicitly with primary ... hidden BooleanField Options model ManyToOneRel last user ソース admin auth username logentry DateTimeField ManyToManyField IntegerField キー 構成 クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/ref/models/meta.html
モデル _meta API — Django 6.1 ドキュメント 9146
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル _meta API ¶ class Options [ソース] ¶ モデルの _meta API は、Django ORM のコアにあります。これにより、ルックアップ、クエリ、フォーム、admin な ... models class TenantUser ( models . Model ): pk = models . CompositePrimaryKey ( "tenant_id" , "id" ) tenant_id = models . IntegerField () id = models . IntegerField () >>> TenantUser . _meta . pk_fields [ <django.db.models.fields.IntegerField: tenant_id>, < ... django.db.models.fields.IntegerField: id> ] Otherwise it will contain the single field declared as the primary key of the model, either explicitly with primary ...
https://man.mtool.work/django/6.1/ref/models/meta.html
モデルからフォームを作成する — Django 6.1 ドキュメント 8434
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルからフォームを作成する ¶ ModelForm ¶ class ModelForm [ソース] ¶ データベース中心のアプリケーションを作成している場合、Django モデルに密接にマッ ... モデルフィールド フォームフィールド AutoField フォーム上では表示されません。 BigAutoField フォーム上では表示されません。 BigIntegerField IntegerField で min_value が -9223372036854775808 から max_value に 9223372036854775807 セットされます。 BinaryField edita ... FileField FilePathField FilePathField FloatField FloatField ForeignKey ModelChoiceField (see below) ImageField ImageField IntegerField IntegerField IPAddressField IPAddressField GenericIPAddressField GenericIPAddressField JSONField JSONField ManyToManyField ... ModelMultipleChoiceField (以下を参照) PositiveBigIntegerField IntegerField PositiveIntegerField IntegerField PositiveSmallIntegerField IntegerField SlugField SlugField SmallAutoField フ ...
https://man.mtool.work/django/6.1/topics/forms/modelforms.html
モデルからフォームを作成する — Django 6.1 ドキュメント 8077
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルからフォームを作成する ¶ ModelForm ¶ class ModelForm [ソース] ¶ データベース中心のアプリケーションを作成している場合、Django モデルに密接にマッ ... モデルフィールド フォームフィールド AutoField フォーム上では表示されません。 BigAutoField フォーム上では表示されません。 BigIntegerField IntegerField で min_value が -9223372036854775808 から max_value に 9223372036854775807 セットされます。 BinaryField edita ... FileField FilePathField FilePathField FloatField FloatField ForeignKey ModelChoiceField (see below) ImageField ImageField IntegerField IntegerField IPAddressField IPAddressField GenericIPAddressField GenericIPAddressField JSONField JSONField ManyToManyField ... ModelMultipleChoiceField (以下を参照) PositiveBigIntegerField IntegerField PositiveIntegerField IntegerField PositiveSmallIntegerField IntegerField SlugField SlugField SmallAutoField フ ...
https://man.mtool.work/django/6.1/topics/forms/modelforms.html
モデルフィールドリファレンス — Django 6.1 ドキュメント 7734
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルフィールドリファレンス ¶ このドキュメントには、Django が提供するフィールドオプション field options とフィールド型 field types を含む、 Field の ... Card ( models . Model ): class Suit ( models . IntegerChoices ): DIAMOND = 1 SPADE = 2 HEART = 3 CLUB = 4 suit = models . IntegerField ( choices = Suit ) また、 Enum Functional API を利用することもできます。この場合、ラベルは上記のように自動的に生成されます ... , ) ) データベースのデフォルトは、他のフィールドやモデルを参照することはできません。例えば、これは無効です: end = models . IntegerField ( db_default = F ( "start" ) + 50 ) もし db_default と Field.default の両方が指定された場合、Python コードでインスタンスを ... フィールドの型 ¶ AutoField ¶ class AutoField ( ** options ) [ソース] ¶ 利用可能な ID に応じて、自動的にインクリメントする IntegerField です。通常は直接使う必要はありません; 指定しない場合は、主キーのフィールドが自動的にモデルに追加されます。 自動インクリメン ...
https://man.mtool.work/django/6.1/ref/models/fields.html
PostgreSQL 固有の集計関数 — Django 6.1 ドキュメント 7549
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PostgreSQL 固有の集計関数 ¶ これらの機能は、 django.contrib.postgres.aggregates モジュールから利用可能です。これらについての詳細は、 PostgreSQLドキュ ... 使用例: class Comment ( models . Model ): body = models . TextField () published = models . BooleanField () rank = models . IntegerField () >>> from django.db.models import Q >>> from django.contrib.postgres.aggregates import BoolAnd >>> Comment . objects . a ... 使用例: class Comment ( models . Model ): body = models . TextField () published = models . BooleanField () rank = models . IntegerField () >>> from django.db.models import Q >>> from django.contrib.postgres.aggregates import BoolOr >>> Comment . objects . ag ... または式のタプルもしくはリスト)。 ArrayAgg.order_by と同じ例です。 使用例: class Room ( models . Model ): number = models . IntegerField ( unique = True ) class HotelReservation ( models . Model ): room = models . ForeignKey ( "Room" , on_delete = models . CA ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/aggregates.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT