[Django] #30042: Use of kwargs in the tutorial.

6 views
Skip to first unread message

Django

unread,
Dec 14, 2018, 6:33:15 PM12/14/18
to django-...@googlegroups.com
#30042: Use of kwargs in the tutorial.
-------------------------------------+-------------------------------------
Reporter: JPWILSON | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: | Version: 2.1
Documentation |
Severity: Normal | Keywords: kwargs, tutorial
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
Lines 360 and 361 of docs/intro/tutorial01.txt states:

"We aren't going to use this feature of Django in the tutorial."
However, as the tutorial makes use of it, would it not be better to say:
"kwargs are used in the URLconf in the 'polls' directory: name='index' "

Apologies if incorrect, I am just learning Django and going through the
tutorial for the first time.

--
Ticket URL: <https://code.djangoproject.com/ticket/30042>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 15, 2018, 2:03:19 AM12/15/18
to django-...@googlegroups.com
#30042: Use of kwargs in the tutorial.
-------------------------------------+-------------------------------------
Reporter: JPWILSON | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 2.1
Severity: Normal | Resolution: invalid

Keywords: kwargs, tutorial | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => invalid


Comment:

It's referring to the `kwargs` argument of `path()`.

--
Ticket URL: <https://code.djangoproject.com/ticket/30042#comment:1>

Reply all
Reply to author
Forward
0 new messages