Re: [Django] #35758: Use keyword argument rather than a positional argument for on_delete in the ForeignKey.on_delete docs. (was: ForeignKey.on_delete example confusing (missing argument it's meant to document))

5 views
Skip to first unread message

Django

unread,
Sep 13, 2024, 4:47:58 AM9/13/24
to django-...@googlegroups.com
#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.
Reply all
Reply to author
Forward
0 new messages