#35758: Use keyword argument rather than a positional argument for on_delete in the
ForeignKey.on_delete docs.
-------------------------------------+-------------------------------------
Reporter: kay | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 5.1
Severity: Normal | Resolution:
Keywords: ForeignKey, code | Triage Stage: Accepted
examples |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):
* summary:
ForeignKey.on_delete example confusing (missing argument it's meant to
document)
=>
Use keyword argument rather than a positional argument for on_delete
in the ForeignKey.on_delete docs.
--
Ticket URL: <
https://code.djangoproject.com/ticket/35758#comment:2>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.