From 8d786c35349f097b1c9c8cdc5c36f81cb68386ec Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Fri, 18 May 2018 15:26:06 +0100 Subject: [PATCH] Reference the `get_url` method in Page model reference docs Fixes #4424. As of #3354, `get_url` is the preferred way of obtaining a page URL, rather than the `.url` property; .url is just a wrapper around get_url (which meant that the docstring for `get_url` was erroneously being picked up). --- docs/reference/pages/model_reference.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/pages/model_reference.rst b/docs/reference/pages/model_reference.rst index f4f1b88d4d..a708ecff27 100644 --- a/docs/reference/pages/model_reference.rst +++ b/docs/reference/pages/model_reference.rst @@ -117,7 +117,7 @@ In addition to the model fields provided, ``Page`` has many properties and metho .. autoattribute:: specific_class - .. autoattribute:: url + .. automethod:: get_url .. autoattribute:: full_url