- 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.0 release notes
- … OneToOneField ( Parent , primary_key = True , to_field = "other_value" , parent_link = True ) value …
-
Model _meta API
- … OneToOneField on proxy models. We avoid filtering out these attributes using the concrete attribute. m2m can be found …
-
PostgreSQL specific model fields
- … OneToOneField and ManyToManyField ). It is possible to nest array fields - you can specify an instance …