per page, with , order by , clip by
Results of 1 - 7 of about 7 for DateTimeRangeField (0.003 sec.)
PostgreSQL 固有のデータベース制約 12523
PostgreSQL 固有のデータベース制約 PostgreSQL は django.contrib.postgres.constraints モジュールから利用できる追加のデータ整合性制約をサポートしています。これらはモデル Meta.constraints オプションで追加されます。 ExclusionConstraint class Exc ... しています。 from django.contrib.postgres.constraints import ExclusionConstraint from django.contrib.postgres.fields import DateTimeRangeField , RangeOperators from django.db import models from django.db.models import Q class Room ( models . Model ): number = model ... d () class Reservation ( models . Model ): room = models . ForeignKey ( "Room" , on_delete = models . CASCADE ) timespan = DateTimeRangeField () cancelled = models . BooleanField ( default = False ) class Meta : constraints = [ ExclusionConstraint ( name = "exclud ... 。たとえば: from django.contrib.postgres.constraints import ExclusionConstraint from django.contrib.postgres.fields import ( DateTimeRangeField , RangeBoundary , RangeOperators , ) from django.db import models from django.db.models import Func , Q class TsTzRange ( ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/constraints.html
PostgreSQL 固有のフォームフィールドとウィジェット 10651
PostgreSQL 固有のフォームフィールドとウィジェット これらのフィールドやウィジェットはすべて django.contrib.postgres.forms モジュールから利用できます。 フィールド SimpleArrayField class SimpleArrayField ( base_field , delimiter = ',' , max_le ... いて、その入力を django.db.backends.postgresql.psycopg_any.NumericRange に変換します。 DecimalRangeField のデフォルトです。 DateTimeRangeField class DateTimeRangeField DateTimeField クラスに基づいて、その入力を django.db.backends.postgresql.psycopg_any.DateTimeTZRa ... nge に変換します。これは DateTimeRangeField のデフォルトです。 DateRangeField class DateRangeField DateField に基づいて、その入力を django.db.backends.postgresql.psyc ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/forms.html
Django 1.8.7 リリースノート 9033
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 ... in return UTF-8 bytestrings on Python 2 if the input is a bytestring ( #25720 ). Fixed serialization of DateRangeField and DateTimeRangeField ( #24937 ). Fixed the exact lookup of ArrayField ( #25666 ). Fixed Model.refresh_from_db() updating of ForeignKey fields w ...
https://man.mtool.work/django/6.1/releases/1.8.7.html
Django 2.2.4 リリースノート 8778
Django 2.2.4 リリースノート August 1, 2019 Django 2.2.4 fixes security issues and several bugs in 2.2.3. CVE-2019-14232: Denial-of-service possibility in django.utils.text.Truncator If django.utils.text.Truncator 's chars() and words() meth ... #30628 ). Fixed a migration crash on PostgreSQL when adding a check constraint with a contains lookup on DateRangeField or DateTimeRangeField , if the right hand side of an expression is the same type ( #30621 ). Fixed a regression in Django 2.2 where auto-reloade ...
https://man.mtool.work/django/6.1/releases/2.2.4.html
PostgreSQL 固有のモデルフィールド 8506
PostgreSQL 固有のモデルフィールド これらのフィールドは全て django.contrib.postgres.fields モジュールから利用できます。 これらのフィールドにインデックスを付ける Index と Field.db_index は両方とも B-tree インデックスを作成しますが、複雑なデー ... 含まない [) です ( different bounds の詳細についてはPostgreSQLのドキュメントを参照してください) 。離散範囲でないフィールド ( DateTimeRangeField と DecimalRangeField ) のデフォルトの境界は default_bounds 引数で変更できます。 PostgreSQL は要素を持たない範囲を正規化して ... ント を参照してください)。 default_bounds は django.db.backends.postgresql.psycopg_any.NumericRange 入力には使用されません。 DateTimeRangeField class DateTimeRangeField ( default_bounds = '[)' , ** options ) タイムスタンプの範囲を格納します。 DateTimeField に基づいて ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/fields.html
Django 4.1 リリースノート 7161
Django 4.1 リリースノート 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... t now supports covering exclusion constraints using SP-GiST indexes on PostgreSQL 14+. The new default_bounds attribute of DateTimeRangeField and DecimalRangeField allows specifying bounds for list and tuple inputs. ExclusionConstraint now allows specifying operat ...
https://man.mtool.work/django/6.1/releases/4.1.html
索引 6906
索引 記号 | _ | 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 コマン ... UT_FORMATS setting DateTimeField (django.db.models のクラス) (django.forms のクラス) DateTimeInput (django.forms のクラス) DateTimeRangeField (django.contrib.postgres.fields のクラス) (django.contrib.postgres.forms のクラス) datetimes() (django.db.models.query.Que ... default (AppConfig の属性) (Field の属性) DEFAULT_AUTO_FIELD setting default_auto_field (AppConfig の属性) default_bounds (DateTimeRangeField の属性) (DecimalRangeField の属性) DEFAULT_CHARSET setting DEFAULT_EXCEPTION_REPORTER setting DEFAULT_EXCEPTION_REPORTER_F ...
https://man.mtool.work/django/6.1/genindex.html
PREV 1 NEXT