diff --git a/docs/urls.rst b/docs/urls.rst index c7e4e8d43aaa53e262a4c525e232c87cf8af8406..15d3984df1ff1d209756e042d8d73aa4b8b8b104 100644 --- a/docs/urls.rst +++ b/docs/urls.rst @@ -32,6 +32,8 @@ e.g. If you have an url with kwargs like this: you can pass the url as follows: +.. code:: python + "url": {"viewname": 'update', "kwargs": {"pk": 1}} In fact, you can pass any of the parameters of the reverse method through the dictionary