- Language: en
29 results for OneToOneField in version 4.1
-
How to create custom model fields
- … OneToOneField used by model inheritance. For advanced use only. All of the options without an explanation …
-
One-to-one relationships
- … OneToOneField . In this example, a Place optionally can be a Restaurant : from django.db import models …
-
Django Deprecation Timeline
- … OneToOneField will be required. django.db.models.fields.add_lazy_relation() will be removed. When time zone support is enabled …
-
System check framework
- … OneToOneField . fields.W343 : limit_choices_to has no effect on ManyToManyField with a through model. This …
-
Django 1.7.4 release notes
- … OneToOneField to a ForeignKey ( #24163 ). Prevented the static.serve view from producing ResourceWarning s in certain …
-
Django 1.3 release notes
- … OneToOneField now accept an on_delete argument to customize behavior when the referenced object is deleted …
-
Django 1.9.2 release notes
- … OneToOneField in ModelAdmin.readonly_fields ( #26060 ). Fixed a crash when calling the migrate command in a test …
-
Django 3.1 release notes
- … OneToOneField emulates the behavior of the SQL constraint ON DELETE RESTRICT . CheckConstraint.check now supports boolean …
-
Django 1.8 release notes
- … OneToOneField now raises a ValueError . Previously, the assignment of an unsaved object would be silently …
-
PostgreSQL specific model fields
- … OneToOneField and ManyToManyField ) and file fields ( FileField and ImageField ). It is possible to nest array …