per page, with , order by , clip by
Results of 1 - 10 of about 96 for DateTimeField (0.011 sec.)
データベース関数 — Django 6.1 ドキュメント 13802
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベース関数 ¶ The classes documented below provide a way for users to use functions provided by the underlying database as annotations, aggrega ... 、明示的に正しいデータベース型にキャストされない限り、不正な型に変換される可能性があります: >>> from django.db.models import DateTimeField >>> from django.db.models.functions import Cast , Coalesce >>> from django.utils import timezone >>> now = timezone . now ... () >>> Coalesce ( "updated" , Cast ( now , DateTimeField ())) Collate ¶ class Collate ( expression , collation ) [ソース] ¶ クエリに使用する式と照合順序名 (collation name) を指定し ... するとデータベースエラーになります。 使用例: class Blog ( models . Model ): body = models . TextField () modified = models . DateTimeField ( auto_now = True ) class Comment ( models . Model ): body = models . TextField () modified = models . DateTimeField ( aut ...
https://man.mtool.work/django/6.1/ref/models/database-functions.html
データベース関数 — Django 6.1 ドキュメント 13460
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベース関数 ¶ The classes documented below provide a way for users to use functions provided by the underlying database as annotations, aggrega ... 、明示的に正しいデータベース型にキャストされない限り、不正な型に変換される可能性があります: >>> from django.db.models import DateTimeField >>> from django.db.models.functions import Cast , Coalesce >>> from django.utils import timezone >>> now = timezone . now ... () >>> Coalesce ( "updated" , Cast ( now , DateTimeField ())) Collate ¶ class Collate ( expression , collation ) [ソース] ¶ クエリに使用する式と照合順序名 (collation name) を指定し ... するとデータベースエラーになります。 使用例: class Blog ( models . Model ): body = models . TextField () modified = models . DateTimeField ( auto_now = True ) class Comment ( models . Model ): body = models . TextField () modified = models . DateTimeField ( aut ...
https://man.mtool.work/django/6.1/ref/models/database-functions.html
モデル _meta API — Django 6.1 ドキュメント 10125
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル _meta API ¶ class Options [ソース] ¶ モデルの _meta API は、Django ORM のコアにあります。これにより、ルックアップ、クエリ、フォーム、admin な ... ogentry>, <django.db.models.fields.AutoField: id>, <django.db.models.fields.CharField: password>, <django.db.models.fields.DateTimeField: last_login>, <django.db.models.fields.BooleanField: is_superuser>, <django.db.models.fields.CharField: username>, <django ... ango.db.models.fields.BooleanField: is_staff>, <django.db.models.fields.BooleanField: is_active>, <django.db.models.fields.DateTimeField: date_joined>, <django.db.models.fields.related.ManyToManyField: groups>, <django.db.models.fields.related.ManyToManyField ... ogentry>, <django.db.models.fields.AutoField: id>, <django.db.models.fields.CharField: password>, <django.db.models.fields.DateTimeField: last_login>, <django.db.models.fields.BooleanField: is_superuser>, <django.db.models.fields.CharField: username>, <django ...
https://man.mtool.work/django/6.1/ref/models/meta.html
モデル _meta API — Django 6.1 ドキュメント 9114
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル _meta API ¶ class Options [ソース] ¶ モデルの _meta API は、Django ORM のコアにあります。これにより、ルックアップ、クエリ、フォーム、admin な ... ogentry>, <django.db.models.fields.AutoField: id>, <django.db.models.fields.CharField: password>, <django.db.models.fields.DateTimeField: last_login>, <django.db.models.fields.BooleanField: is_superuser>, <django.db.models.fields.CharField: username>, <django ... ango.db.models.fields.BooleanField: is_staff>, <django.db.models.fields.BooleanField: is_active>, <django.db.models.fields.DateTimeField: date_joined>, <django.db.models.fields.related.ManyToManyField: groups>, <django.db.models.fields.related.ManyToManyField ... ogentry>, <django.db.models.fields.AutoField: id>, <django.db.models.fields.CharField: password>, <django.db.models.fields.DateTimeField: last_login>, <django.db.models.fields.BooleanField: is_superuser>, <django.db.models.fields.CharField: username>, <django ...
https://man.mtool.work/django/6.1/ref/models/meta.html
モデルフィールドリファレンス — Django 6.1 ドキュメント 8444
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルフィールドリファレンス ¶ このドキュメントには、Django が提供するフィールドオプション field options とフィールド型 field types を含む、 Field の ... ような、データベースに直接アクセスできる人のために、フィールドをドキュメント化するのに便利です。例えば: pub_date = models . DateTimeField ( db_comment = "Date and time when the article was published" , ) db_default ¶ Field. db_default ¶ データベースによって計算 ... されるこのフィールドのデフォルト値。これはリテラル値でも、 Now のようなデータベース関数でも構いません: created = models . DateTimeField ( db_default = Now ()) リテラルやデータベース関数から構成する限り、より複雑な式を使用できます: month_due = models . DateFi ... なぜなら unique がインデックスの作成を意味するからです。 unique_for_date ¶ Field. unique_for_date ¶ これを DateField または DateTimeField の名前に設定すると、このフィールドが日付フィールドの値に対して一意であることを要求します。 例えば、 title フィールドに uni ...
https://man.mtool.work/django/6.1/ref/models/fields.html
Django 1.6 リリースノート — Django 6.1 ドキュメント 8444
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.6 リリースノート ¶ 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very d ... med in UTC. This limitation was lifted in Django 1.6. Use QuerySet.datetimes() to perform time zone aware aggregation on a DateTimeField . Support for savepoints in SQLite ¶ Django 1.6 adds support for savepoints in SQLite, with some limitations . BinaryField ... used to return a list of datetime . QuerySet.datetimes() returns a list of datetime . QuerySet.dates() no longer usable on DateTimeField ¶ QuerySet.dates() raises an error if it's used on DateTimeField when time zone support is active. Use QuerySet.datetimes( ... res time zone definitions ¶ The date_hierarchy feature of the admin now relies on QuerySet.datetimes() when it's used on a DateTimeField . This requires time zone definitions in the database when USE_TZ is True . Learn more . date_list in generic views requir ...
https://man.mtool.work/django/6.1/releases/1.6.html
モデルフィールドリファレンス — Django 6.1 ドキュメント 8444
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルフィールドリファレンス ¶ このドキュメントには、Django が提供するフィールドオプション field options とフィールド型 field types を含む、 Field の ... ような、データベースに直接アクセスできる人のために、フィールドをドキュメント化するのに便利です。例えば: pub_date = models . DateTimeField ( db_comment = "Date and time when the article was published" , ) db_default ¶ Field. db_default ¶ データベースによって計算 ... されるこのフィールドのデフォルト値。これはリテラル値でも、 Now のようなデータベース関数でも構いません: created = models . DateTimeField ( db_default = Now ()) リテラルやデータベース関数から構成する限り、より複雑な式を使用できます: month_due = models . DateFi ... なぜなら unique がインデックスの作成を意味するからです。 unique_for_date ¶ Field. unique_for_date ¶ これを DateField または DateTimeField の名前に設定すると、このフィールドが日付フィールドの値に対して一意であることを要求します。 例えば、 title フィールドに uni ...
https://man.mtool.work/django/6.1/ref/models/fields.html
Django 1.6 リリースノート — Django 6.1 ドキュメント 8444
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.6 リリースノート ¶ 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very d ... med in UTC. This limitation was lifted in Django 1.6. Use QuerySet.datetimes() to perform time zone aware aggregation on a DateTimeField . Support for savepoints in SQLite ¶ Django 1.6 adds support for savepoints in SQLite, with some limitations . BinaryField ... used to return a list of datetime . QuerySet.datetimes() returns a list of datetime . QuerySet.dates() no longer usable on DateTimeField ¶ QuerySet.dates() raises an error if it's used on DateTimeField when time zone support is active. Use QuerySet.datetimes( ... res time zone definitions ¶ The date_hierarchy feature of the admin now relies on QuerySet.datetimes() when it's used on a DateTimeField . This requires time zone definitions in the database when USE_TZ is True . Learn more . date_list in generic views requir ...
https://man.mtool.work/django/6.1/releases/1.6.html
Django 3.0.3 リリースノート — Django 6.1 ドキュメント 8115
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.0.3 リリースノート ¶ 2020年2月3日 Django 3.0.3 では、セキュリティの問題1件と 3.0.2 におけるいくつかのバグを修正しました。 CVE-2020-7471: St ... 切に加工された delimiter を使った SQL インジェクションが存在しました。 バグ修正 ¶ Subquery() アノテーションから DateField 、 DateTimeField 、あるいは TimeField を減算したときにクラッシュするという Django 3.0 のリグレッションを修正しました ( #31133 )。 クエリセッ ... ェクション 集計 Subquery アノテーション QuerySet values チェック 選択 リリースノート セキュリティ 問題 潜在的 加工 DateField DateTimeField TimeField 減算 クエリ クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/3.0.3.html
PostgreSQL 固有のデータベース制約 — Django 6.1 ドキュメント 7275
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PostgreSQL 固有のデータベース制約 ¶ PostgreSQL は django.contrib.postgres.constraints モジュールから利用できる追加のデータ整合性制約をサポートしてい ... lass Reservation ( models . Model ): room = models . ForeignKey ( "Room" , on_delete = models . CASCADE ) start = models . DateTimeField () end = models . DateTimeField () cancelled = models . BooleanField ( default = False ) class Meta : constraints = [ Excl ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/constraints.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT