Related object reference - remove() method
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:|
|Needs tests:||Patch needs improvement:|
The documentation for RelatedManager.remove() states:
In order to prevent database inconsistency, this method only exists on ForeignKey objects where null=True.
This statement is misleading as it can be taken to mean that the method only exists for ForeignKey objects for which null is true. I think the statement should read:
For ForeignKey objects, this method only exists if null=True.
The comment about database inconsistency is only stating the obvious.