#21941: document kwargs parameter to url() --------------------------------------+------------------------ Reporter: cjerdonek | Owner: nobody Type: Cleanup/optimization | Status: new Component: Documentation | Version: 1.6 Severity: Normal | Keywords: url,kwargs Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 1 | UI/UX: 0 --------------------------------------+------------------------ Currently, the documentation of the [https://docs.djangoproject.com/en/dev/ref/urls/#url 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 [https://docs.djangoproject.com/en/dev/topics/http/urls/#how-django- processes-a-request "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. -- Ticket URL: <https://code.djangoproject.com/ticket/21941> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/052.4b930fc890598cafb8d6b8ec6e7921cd%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.