db.models.OneToOneField.parent_link

OneToOneField.parent_link

When True and used in a model which inherits from another concrete model, indicates that this field should be used as the link back to the parent class, rather than the extra OneToOneField which would normally be implicitly created by subclassing.

See One-to-one relationships for usage examples of OneToOneField.

doc_Django
2016-10-09 18:35:57
Comments
Leave a Comment

Please login to continue.