Opened 6 years ago
Closed 6 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.
Note:
See TracTickets
for help on using tickets.
It's referring to the
kwargs
argument ofpath()
.