- Language: en
30 results for OneToOneField in version 5.1
-
Model field reference
- … OneToOneField class OneToOneField ( to , on_delete , parent_link = False , ** options ) [source] A one-to-one relationship …
-
Django 1.9 release notes
- … OneToOneField on_delete argument In order to increase awareness about cascading model deletion, the on_delete …
-
Models
- … OneToOneField fields also accept an optional parent_link argument. OneToOneField classes used to automatically become …
-
QuerySet API reference
- … OneToOneField , ForeignKey and ManyToManyField attributes: >>> Blog . objects . values ( "name" , "entry …
-
Making queries
- … OneToOneField , you must duplicate the related object and assign it to the new object’s field …
-
Django 1.10 release notes
- … OneToOneField that point to another field. The arity class attribute is added to Func . This …
-
One-to-one relationships
- … OneToOneField . In this example, a Place optionally can be a Restaurant : from django.db import models …
-
Customizing authentication in Django
- … OneToOneField to a model containing the fields for additional information. This one-to-one model …
-
System check framework
- … OneToOneField . fields.W343 : limit_choices_to has no effect on ManyToManyField with a through model. This …
-
Django 1.7 release notes
- … OneToOneField for Multi-table inheritance are now discovered in abstract classes. It is now possible …