Skip to content

Commit 1f10fc1

Browse files
committed
Doc fix
1 parent 2ab05b7 commit 1f10fc1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/urls.rst

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ e.g. If you have an url with kwargs like this:
3232
3333
you can pass the url as follows:
3434

35+
.. code:: python
36+
3537
"url": {"viewname": 'update', "kwargs": {"pk": 1}}
3638
3739
In fact, you can pass any of the parameters of the reverse method through the dictionary

0 commit comments

Comments
 (0)