per page, with , order by , clip by
Results of 1 - 10 of about 36 for BooleanField (0.004 sec.)
モデル _meta API 15151
モデル _meta API class Options [ソース] モデルの _meta API は、Django ORM のコアにあります。これにより、ルックアップ、クエリ、フォーム、admin などのシステムの他のパーツは、各モデルの機能を理解できるようになります。API は、各モデルクラスの _ ... jango.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.db.models.fields.CharField: first_name>, <django.db ... .models.fields.CharField: last_name>, <django.db.models.fields.EmailField: email>, <django.db.models.fields.BooleanField: is_staff>, <django.db.models.fields.BooleanField: is_active>, <django.db.models.fields.DateTimeField: date_joined>, <djan ... jango.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.db.models.fields.CharField: first_name>, <django.db ...
https://man.mtool.work/django/6.1/ref/models/meta.html
Django 1.11.27 リリースノート 9620
Django 1.11.27 リリースノート December 18, 2019 Django 1.11.27 fixes a security issue and a data loss bug in 1.11.26. CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email address making use ... rather than the submitted address. バグ修正 Fixed a data loss possibility in SplitArrayField . When using with ArrayField(BooleanField()) , all values after the first True value were marked as checked instead of preserving passed values ( #31073 ). ...
https://man.mtool.work/django/6.1/releases/1.11.27.html
Django 2.2.9 リリースノート 9620
Django 2.2.9 リリースノート December 18, 2019 Django 2.2.9 fixes a security issue and a data loss bug in 2.2.8. CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email address making use of Un ... rather than the submitted address. バグ修正 Fixed a data loss possibility in SplitArrayField . When using with ArrayField(BooleanField()) , all values after the first True value were marked as checked instead of preserving passed values ( #31073 ). ...
https://man.mtool.work/django/6.1/releases/2.2.9.html
PostgreSQL 固有のモデルフィールド 9382
PostgreSQL 固有のモデルフィールド これらのフィールドは全て django.contrib.postgres.fields モジュールから利用できます。 これらのフィールドにインデックスを付ける Index と Field.db_index は両方とも B-tree インデックスを作成しますが、複雑なデー ... nt . objects . filter ( ages__endswith = 10 ) <QuerySet [<Event: Soft play>]> isempty 返されるオブジェクトは空の範囲です。 BooleanField の有効なルックアップに連結できます。 >>> Event . objects . filter ( ages__isempty = True ) <QuerySet []> lower_inc 与えられ ... た真偽値に基づき、包含もしくは非包含な下限値を持つオブジェクトを返します。 BooleanField の有効なルックアップに連結できます。 >>> Event . objects . filter ( ages__lower_inc = True ) <QuerySet [<Event: Soft play> ... , <Event: Pub trip>]> lower_inf 渡された真偽値に応じて、無限大または有界下限境界を持つオブジェクトを返します。 BooleanField に対して有効なルックアップに連結できます。 >>> Event . objects . filter ( ages__lower_inf = True ) <QuerySet []> upper_inc ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/fields.html
Django 1.11.4 リリースノート 9144
Django 1.11.4 リリースノート August 1, 2017 Django 1.11.4 fixes several bugs in 1.11.3. バグ修正 Fixed a regression in 1.11.3 on Python 2 where non-ASCII format values for date/time widgets results in an empty value in the widget's HTML ( # ... ws with non- str environment variables ( #28174 ). Corrected Field.has_changed() to return False for disabled form fields: BooleanField , MultipleChoiceField , MultiValueField , FileField , ModelChoiceField , and ModelMultipleChoiceField . Fixed QuerySet.cou ...
https://man.mtool.work/django/6.1/releases/1.11.4.html
Django 4.2.3 リリースノート 9144
Django 4.2.3 リリースノート 2023年7月3日 Django 4.2.3 では、 4.2.2 における深刻度 "moderate" のセキュリティの問題1件と、いくつかのバグを修正しました。 CVE-2023-36053: EmailValidator / URLValidator における潜在的な正規表現によるサービス拒否攻 ... ゾーン警告の配置が正しくなかったリグレッションを修正しました ( #34645 )。 Django 4.2 において、 ModelAdmin.list_editable が BooleanField を含む場合にadmin 画面のチェンジリストビューで行のハイライトが誤っていた問題のリグレッションを修正しました ( #34638 )。 ...
https://man.mtool.work/django/6.1/releases/4.2.3.html
一対一 (one-to-one) 関係 9144
一対一 (one-to-one) 関係 一対一の関係を定義するには、 OneToOneField を使用します。 この例では、 Place は任意で Restaurant になることができます: from django.db import models class Place ( models . Model ): name = models . CharField ( max_len ... place = models . OneToOneField ( Place , on_delete = models . CASCADE , primary_key = True , ) serves_hot_dogs = models . BooleanField ( default = False ) serves_pizza = models . BooleanField ( default = False ) def __str__ ( self ): return " %s the restaur ...
https://man.mtool.work/django/6.1/topics/db/examples/one_to_one.html
PostgreSQL 固有のデータベース制約 8907
PostgreSQL 固有のデータベース制約 PostgreSQL は django.contrib.postgres.constraints モジュールから利用できる追加のデータ整合性制約をサポートしています。これらはモデル Meta.constraints オプションで追加されます。 ExclusionConstraint class Exc ... room = models . ForeignKey ( "Room" , on_delete = models . CASCADE ) timespan = DateTimeRangeField () cancelled = models . BooleanField ( default = False ) class Meta : constraints = [ ExclusionConstraint ( name = "exclude_overlapping_reservations" , express ... m" , on_delete = models . CASCADE ) start = models . DateTimeField () end = models . DateTimeField () cancelled = models . BooleanField ( default = False ) class Meta : constraints = [ ExclusionConstraint ( name = "exclude_overlapping_reservations" , express ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/constraints.html
Django 1.2 リリースノート 8907
Django 1.2 リリースノート 2010 年 5 月 17 日 Django 1.2 へようこそ! Nearly a year in the making, Django 1.2 packs an impressive list of new features and lots of bug fixes. These release notes cover the new features, as well as important cha ... he model was saved. If you need an unmodified instance of your model, you should pass a copy to the ModelForm constructor. BooleanField on MySQL In previous versions of Django, a model's BooleanField under MySQL would return its value as either 1 or 0 , inst ... True or False ; for most people this wasn't a problem because bool is a subclass of int in Python. In Django 1.2, however, BooleanField on MySQL correctly returns a real bool . The only time this should ever be an issue is if you were expecting the repr of a ... BooleanField to print 1 or 0 . Changes to the interpretation of max_num in FormSets As part of enhancements made to the handling of For ...
https://man.mtool.work/django/6.1/releases/1.2.html
Django 3.0.1 リリースノート 8907
Django 3.0.1 リリースノート December 18, 2019 Django 3.0.1 では、セキュリティの問題1件と 3.0 におけるいくつかのバグを修正しました。 CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email addr ... filters, e.g. in When conditions ( #31060 ). Fixed a data loss possibility in SplitArrayField . When using with ArrayField(BooleanField()) , all values after the first True value were marked as checked instead of preserving passed values ( #31073 ). ...
https://man.mtool.work/django/6.1/releases/3.0.1.html
PREV 1 2 3 4 NEXT