- Language: en
27 results for OneToOneField in version 2.1
-
Django 1.7 release notes
- … OneToOneField for Multi-table inheritance are now discovered in abstract classes. It is now possible …
-
Django 2.0 release notes
- … OneToOneField is now required in models and migrations. Consider squashing migrations so that you have …
-
One-to-one relationships
- … OneToOneField . In this example, a Place optionally can be a Restaurant : from django.db import models …
-
Django 1.9.2 release notes
- … OneToOneField in ModelAdmin.readonly_fields ( #26060 ). Fixed a crash when calling the migrate command in a test …
-
Django 1.3 release notes
- … OneToOneField now accept an on_delete argument to customize behavior when the referenced object is deleted …
-
Django 2.0.1 release notes
- … OneToOneField in ModelAdmin.autocomplete_fields ( #28898 ). Fixed a regression on SQLite where DecimalField returned a result …
-
Django 1.8.7 release notes
- … OneToOneField primary key ( #25786 ). Fixed incorrect validation for PositiveIntegerField and PositiveSmallIntegerField on MySQL resulting in values …
-
Django 1.9.7 release notes
- … regression in queries on a OneToOneField that has to_field and primary_key=True ( #26667 ). …
-
Django 1.8 release notes
- … OneToOneField now raises a ValueError . Previously, the assignment of an unsaved object would be silently …
-
Model _meta API
- … OneToOneField on proxy models. We avoid filtering out these attributes using the concrete attribute. m2m can be found …