document kwargs parameter to url()
|Reported by:||Chris Jerdonek||Owned by:||Tim Martin|
|Cc:||chris.jerdonek@…, numerodix@…, Tim Martin||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently, the documentation of the url() function does not document the
kwargs parameter. This issue is to document that parameter. The documentation should be sure to cover the cases of both function views and class-based views.
I believe step (4) of the How Django processes a request section should also be updated in this regard:
"Once one of the regexes matches, Django imports and calls the given view, which is a simple Python function (or a class based view). The view gets passed an HttpRequest as its first argument and any values captured in the regex as remaining arguments."
I don't know if the kwargs parameter is documented somewhere else in the docs.
Change History (11)
comment:8 Changed 3 years ago by
|Owner:||changed from nobody to Tim Martin|
|Patch needs improvement:||unset|
|Status:||new → assigned|