- Language: en
5 results for OneToOneField in version 2.2
-
Models
- … OneToOneField fields also accept an optional parent_link argument. OneToOneField classes used to automatically become …
-
Making queries
- … OneToOneField , you must duplicate the related object and assign it to the new object’s field …
-
Customizing authentication in Django
- … OneToOneField to a model containing the fields for additional information. This one-to-one model …
-
One-to-one relationships
- … OneToOneField . In this example, a Place optionally can be a Restaurant : from django.db import models …
-
Translation
- … OneToOneField relationship as translatable by using their verbose_name options: class MyThing ( models . Model ): kind …