From 1f10fc10f64f90a7ee6c6cb40cebd01e4a6ec4a0 Mon Sep 17 00:00:00 2001 From: MiltonLn Date: Sat, 29 Apr 2017 17:32:40 -0500 Subject: [PATCH] Doc fix --- docs/urls.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/urls.rst b/docs/urls.rst index c7e4e8d..15d3984 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