Opened 5 years ago

Closed 5 years ago

#30042 closed Cleanup/optimization (invalid)

Use of kwargs in the tutorial.

Reported by: Jean-Paul Wilson Owned by: nobody
Component: Documentation Version: 2.1
Severity: Normal Keywords: kwargs, tutorial
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

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.

Change History (1)

comment:1 by Tim Graham, 5 years ago

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.
Back to Top