- Language: en
29 results for OneToOneField in version 4.1
-
Django 3.0 release notes
- … OneToOneField when a foreign key has a unique or primary key constraint. The new --skip …
-
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 2.0 release notes
- … OneToOneField is now required in models and migrations. Consider squashing migrations so that you have …
-
Translation
- … OneToOneField relationship as translatable by using their verbose_name options: class MyThing ( models . Model ): kind …
-
Django 1.8.9 release notes
- … OneToOneField in ModelAdmin.readonly_fields ( #26060 ). Fixed a regression in Django 1.8.5 that broke copying a SimpleLazyObject …
-
PostgreSQL specific model fields
- … OneToOneField and ManyToManyField ) and file fields ( FileField and ImageField ). It is possible to nest array …
-
Django 1.11.1 release notes
- … OneToOneField primary key ( #28047 ). Fixed empty POST data table appearing instead of “No POST data …
-
Django 1.0 release notes
- … OneToOneField ( Parent , primary_key = True , to_field = "other_value" , parent_link = True ) value …
-
Django 1.8 release notes
- … OneToOneField now raises a ValueError . Previously, the assignment of an unsaved object would be silently …