Clarified the language used in the documentation. Thanks to Mike Smith for the report.
This commit is contained in:
parent
e8fc3f3783
commit
4e36e0a8b3
|
@ -1061,8 +1061,8 @@ define the details of how the relation works.
|
||||||
* You have legacy data that is not valid.
|
* You have legacy data that is not valid.
|
||||||
* You're sharding your database.
|
* You're sharding your database.
|
||||||
|
|
||||||
If you use this, accessing a related object that doesn't exist will raise
|
If this is set to ``False``, accessing a related object that doesn't exist
|
||||||
its ``DoesNotExist`` exception.
|
will raise its ``DoesNotExist`` exception.
|
||||||
|
|
||||||
.. attribute:: ForeignKey.on_delete
|
.. attribute:: ForeignKey.on_delete
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue