kopia lustrzana https://github.com/wagtail/wagtail
Fix versionadded directive
rodzic
7f7f9b4de1
commit
c8eb58ddac
|
@ -1149,7 +1149,7 @@ class Page(AbstractPage, index.Indexed, ClusterableModel, metaclass=PageBase):
|
||||||
@property
|
@property
|
||||||
def cached_content_type(self):
|
def cached_content_type(self):
|
||||||
"""
|
"""
|
||||||
versionadded:: 2.10
|
.. versionadded:: 2.10
|
||||||
|
|
||||||
Return this page's ``content_type`` value from the ``ContentType``
|
Return this page's ``content_type`` value from the ``ContentType``
|
||||||
model's cached manager, which will avoid a database query if the
|
model's cached manager, which will avoid a database query if the
|
||||||
|
|
Ładowanie…
Reference in New Issue