Fixed #13287 -- Corrected the advice on argument formatting in the {% url %} tag. Thanks to Gabriel Hurley for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c21c052cf0
commit
84df3554d0
|
@ -915,7 +915,7 @@ violating the DRY principle by having to hard-code URLs in your templates::
|
||||||
|
|
||||||
The first argument is a path to a view function in the format
|
The first argument is a path to a view function in the format
|
||||||
``package.package.module.function``. Additional arguments are optional and
|
``package.package.module.function``. Additional arguments are optional and
|
||||||
should be comma-separated values that will be used as arguments in the URL.
|
should be space-separated values that will be used as arguments in the URL.
|
||||||
The example above shows passing positional arguments. Alternatively you may
|
The example above shows passing positional arguments. Alternatively you may
|
||||||
use keyword syntax::
|
use keyword syntax::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue