Mercurial > p > roundup > code
changeset 7784:74771afca2b6
doc: fix formatting for indexarg_url.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 05 Mar 2024 09:04:08 -0500 |
| parents | 8d81f89ba246 |
| children | 20ab9a4b76e9 |
| files | doc/reference.txt |
| diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/reference.txt Mon Mar 04 21:40:09 2024 -0500 +++ b/doc/reference.txt Tue Mar 05 09:04:08 2024 -0500 @@ -3454,8 +3454,10 @@ description render a description of the request - handle for the page title indexargs_form render the current index args as form elements - indexargs_url render the current index args as a URL - (url, args) + indexargs_url render the current index args as a URL:: + + request.indexargs_url("url", {args}) + If the value of an arg (in args dict) is None, the argument is excluded from the url. If you want an empty value use an empty string '' as the value.
