... 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 ... ... 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 ... ... . 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 ... ... 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 , in ... 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 F ... ... . 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 ... ... 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 , in ... 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 F ... ... 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 ... ... 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 ... ... 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 ... ... 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 ... 2026年10月08日