Fixed #1128 -- Fixed typo in docs/url_dispatch.txt. Thanks, joost
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5cff7360cb
commit
5f47ce0b4c
|
@ -148,11 +148,6 @@ The matching/grouping algorithm
|
||||||
Here's the algorithm the URLconf parser follows, with respect to named groups
|
Here's the algorithm the URLconf parser follows, with respect to named groups
|
||||||
vs. non-named groups in a regular expression:
|
vs. non-named groups in a regular expression:
|
||||||
|
|
||||||
* If there are any named groups, it will use those as keyword arguments,
|
|
||||||
ignoring any non-named groups.
|
|
||||||
* Otherwise, it will pass all non-named groups as positional arguments.
|
|
||||||
* In both cases, it will pass any extra
|
|
||||||
|
|
||||||
If there are any named arguments, it will use those, ignoring non-named arguments.
|
If there are any named arguments, it will use those, ignoring non-named arguments.
|
||||||
Otherwise, it will pass all non-named arguments as positional arguments.
|
Otherwise, it will pass all non-named arguments as positional arguments.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue