kopia lustrzana https://github.com/wagtail/wagtail
Remove outdated versionadded/versionchanged notes in docs
rodzic
ca908356bc
commit
14daf4be0a
|
@ -272,8 +272,6 @@ and two more to fetch each page):
|
||||||
Utilising the ``page_url`` setting shortcut
|
Utilising the ``page_url`` setting shortcut
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
.. versionadded:: 2.10
|
|
||||||
|
|
||||||
If, like in the previous section, your settings model references pages,
|
If, like in the previous section, your settings model references pages,
|
||||||
and you regularly need to output the URLs of those pages in your project,
|
and you regularly need to output the URLs of those pages in your project,
|
||||||
you can likely use the setting model's ``page_url`` shortcut to do that more
|
you can likely use the setting model's ``page_url`` shortcut to do that more
|
||||||
|
|
|
@ -660,10 +660,6 @@ Customise the behaviour of rich text fields. By default, ``RichTextField`` and `
|
||||||
|
|
||||||
If a ``'default'`` editor is not specified, rich text fields that do not specify an ``editor`` argument will use the Draftail editor with the default feature set enabled.
|
If a ``'default'`` editor is not specified, rich text fields that do not specify an ``editor`` argument will use the Draftail editor with the default feature set enabled.
|
||||||
|
|
||||||
.. versionchanged:: 2.10
|
|
||||||
|
|
||||||
Omitting the ``'default'`` editor now leaves the original default editor intact, so it is no longer necessary to redefine ``'default'`` when adding alternative editors.
|
|
||||||
|
|
||||||
|
|
||||||
.. _WAGTAILADMIN_GLOBAL_PAGE_EDIT_LOCK:
|
.. _WAGTAILADMIN_GLOBAL_PAGE_EDIT_LOCK:
|
||||||
|
|
||||||
|
|
|
@ -84,8 +84,6 @@ This signal is emitted from a ``Page`` when the page is unpublished.
|
||||||
``pre_page_move`` and ``post_page_move``
|
``pre_page_move`` and ``post_page_move``
|
||||||
------------------------------------------
|
------------------------------------------
|
||||||
|
|
||||||
.. versionadded:: 2.10
|
|
||||||
|
|
||||||
These signals are emitted from a ``Page`` immediately before and after it is moved.
|
These signals are emitted from a ``Page`` immediately before and after it is moved.
|
||||||
|
|
||||||
Subscribe to ``pre_page_move`` if you need to know values BEFORE any database changes are applied. For example: Getting the page's previous URL, or that of its descendants.
|
Subscribe to ``pre_page_move`` if you need to know values BEFORE any database changes are applied. For example: Getting the page's previous URL, or that of its descendants.
|
||||||
|
|
Ładowanie…
Reference in New Issue