- Language: en
18 results for OneToOneField in version 1.8
-
Model field reference
- … OneToOneField class OneToOneField ( othermodel , parent_link=False , **options ) [source] A one-to-one relationship. Conceptually …
-
Models
- … OneToOneField , takes an optional first positional argument – a verbose name. If the verbose name isn’t given …
-
QuerySet API reference
- … OneToOneField , ForeignKey and ManyToManyField attributes: Blog . objects . values ( 'name' , 'entry__headline' ) [{ 'name …
-
Making queries
- … OneToOneField , or ManyToManyField ), instances of that model will have a convenient API to access the related …
-
Django 1.7 release notes
- … OneToOneField for Multi-table inheritance are now discovered in abstract classes. It is now possible …
-
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 ( User ) department = models . CharField ( max_length = 100 ) Assuming an existing Employee Fred Smith who has both …
-
Django 1.3 release notes
- … OneToOneField now accept an on_delete argument to customize behavior when the referenced object is deleted …
-
Django 1.8.7 release notes
- … OneToOneField primary key ( #25786 ). Fixed incorrect validation for PositiveIntegerField and PositiveSmallIntegerField on MySQL resulting in values …
-
Django 1.7.4 release notes
- … OneToOneField to a ForeignKey ( #24163 ). Prevented the static.serve view from producing ResourceWarning s in certain …