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).
This commit is contained in:
Matt Westcott 2018-05-18 15:26:06 +01:00
parent 53881ebd0b
commit 8d786c3534

View file

@ -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