From c8eb58ddacd6de78cbe39c220defa231c9759de3 Mon Sep 17 00:00:00 2001 From: Frantisek Holop Date: Thu, 15 Oct 2020 00:37:12 +0200 Subject: [PATCH] Fix versionadded directive --- wagtail/core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail/core/models.py b/wagtail/core/models.py index 1cb8ed05c9..7dc1da7806 100644 --- a/wagtail/core/models.py +++ b/wagtail/core/models.py @@ -1149,7 +1149,7 @@ class Page(AbstractPage, index.Indexed, ClusterableModel, metaclass=PageBase): @property def cached_content_type(self): """ - versionadded:: 2.10 + .. versionadded:: 2.10 Return this page's ``content_type`` value from the ``ContentType`` model's cached manager, which will avoid a database query if the