`OneToOneField` reverse accessor cannot be hidden.
|Reported by:||charettes||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
ForeignKey allows to set a related_name ending with a '+' to hide the reverse accessor.
This can be quite useful when you want to reference a third-party app model but want to avoid polluting it when an unnecessary reverse descriptor.
Attaching a patch with tests and a release note. This should help #21212, which aims to document OneToOneField.related_name, to reuse/reference the existing ForeignKey one.